Commit Graph

340 Commits (3c60111c4848dbfa53b9784d3f711d40d03d45d1)

Author SHA1 Message Date
Louis Chatriot 0d2b30e656 Can use dot notation to query subfields 12 years ago
Louis Chatriot c82a4600e3 Put matching in model.js, makes more sense 12 years ago
Louis Chatriot 2cf13b055d Better modifiers implementation 12 years ago
Louis Chatriot 4c3aa92a40 Use query as basis for upsertion 12 years ago
Louis Chatriot e9baed16dc Can upsert with modifiers 12 years ago
Louis Chatriot fd6bc22e56 Dont throw an error if updateQuery contains an _id that is the same as obj 12 years ago
Louis Chatriot f7c8687009 Can use multiple modifiers at once 12 years ago
Louis Chatriot 1a95ddb27a The modifier works as expected and is tested 12 years ago
Louis Chatriot ed48758dcd modifier works as expected and is tested 12 years ago
Louis Chatriot 56ee1227ab Modifiers arguments must be objects 12 years ago
Louis Chatriot 6586c7f81a Cannot mix behaviour and cannot use non registered modifiers 12 years ago
Louis Chatriot 8d4182067b Cant try to update an _id in a copy-type modif 12 years ago
Louis Chatriot cf09a75be3 Field names cannot contain a dot 12 years ago
Louis Chatriot 4045dd9e4a Function dedicated to checking an object has the right format 12 years ago
Louis Chatriot 6c111067d8 Cannot use field names beginning with the $ sign 12 years ago
Louis Chatriot 0854009b22 Use given _id if any, otherwise a uid 12 years ago
Louis Chatriot f91a41b534 DB state shouldn't be modified when the returned objects are modified 12 years ago
Louis Chatriot 7096cdb144 Enable upserts and bump version 12 years ago
Louis Chatriot 2c176b3941 Factorized tests and bumped version 12 years ago
Louis Chatriot b8215bd40f Able to persist complex objects too 12 years ago
Louis Chatriot ae8b43aad4 Deep copy finished and tested 12 years ago
Louis Chatriot 283284947b serialization and deserializiton ok for arrays and objects 12 years ago
Louis Chatriot 06da7d4eaa Serialize and deserialize primitive types 12 years ago
Louis Chatriot d40601785c CRUD tests complete 12 years ago
Louis Chatriot dd20b3b973 Can remove multiple documents even after persistence 12 years ago
Louis Chatriot 27ab013a84 Test update effect after a reload of the database 12 years ago
Louis Chatriot a2b9583155 Tested update of one document 12 years ago
Louis Chatriot 7ca9c8fe0d Update function doesnt swallow _id anymore 12 years ago
Louis Chatriot 7b31c9042e Update doesnt modify the db if query doesnt match anything 12 years ago
Louis Chatriot 71caf0bd2b Able to find one document 12 years ago
Louis Chatriot f0f5161a37 Able to query multiple documens 12 years ago
Louis Chatriot c0a0cd8c39 Able to query multiple documens 12 years ago
Louis Chatriot dc6b4a25d7 Test inserting documents 12 years ago
Louis Chatriot 3628922a75 Ready to test 12 years ago