- Removed
auto_map- auto maps by default. map_todoesn't execute query anymore, it just sets mapping class and returns the query.- Added new methods that execute query:
one,one!andall.one!raisesMongoOne::Errors:NotFoundif no document found. - Container friendly.
Collection.new.find() - AST Support for Types::Any. Use
Types::Anyfor_idin your Dry::Structs if you want to get_idasBSON::ObjectId. - Auto Mapped struct now has
_idasTypes::Anyby default. - Added missing keys toleration in
schema. Useattribute?if the field in the db document is optional. - Added support for projections of untyped
HashandArrayfields. - Added
skipfor read operations. - Added
each_batchhelper for read operations. See Spec for usage.
-
Notifications
You must be signed in to change notification settings - Fork 0
License
flagman/mongo_one
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published