Commit Graph

157 Commits (6d43867c209db3258b11f25c41ae0a10428e4df4)

Author SHA1 Message Date
Louis Chatriot 1f0d19ac18 No side effect when using multiple indexes 12 years ago
Louis Chatriot 6cb3bcc003 If one unique constraint is violated, the data doesn't change 12 years ago
Louis Chatriot a87d89f277 Always use an automatic _id, which is guaranteed to be a string 12 years ago
Louis Chatriot ddb7ffc74e Tested that we can insert document in an index automatically 12 years ago
Louis Chatriot 8db119479d ensureIndex can be called whenever 12 years ago
Louis Chatriot c5e5bbbeea Able to cleanly reset an index 12 years ago
Louis Chatriot 54f0dbfe4b ensureIndex called after any insert, update or remove works 12 years ago
Louis Chatriot 363f947c92 Can also use ensureIndex after some inserts (so also works aftre updates and removes) 12 years ago
Louis Chatriot b941485450 ensureIndex init works right after a database load 12 years ago
Louis Chatriot 411f88c733 cant change an _id 12 years ago
Louis Chatriot 55993012b2 Corrected unlikely bug on database state pollution 12 years ago
Louis Chatriot 40ad547dc2 Keep an internal counter of the underlying datafile size to compact it when it grows too big 12 years ago
Louis Chatriot f694e7ce2a Loading the database compacts it right away 12 years ago
Louis Chatriot aae1743542 Tested that removes are persistent 12 years ago
Louis Chatriot a394a6c431 Append-only format used for updates 12 years ago
Louis Chatriot ab6962b1b8 Able to load an append-only formatted file 12 years ago
Louis Chatriot 83a2e592f4 If two lines concern the same doc, the last one prevails 12 years ago
Louis Chatriot 73a96e7f17 Docs without _id are not considered 12 years ago
Louis Chatriot 688c35b08b Database loading needs to be sequential too 12 years ago
Louis Chatriot 31e53b3007 Tested that garbage lines have no impact on data treatment 12 years ago
Louis Chatriot e8999e37b6 Tested database loading 12 years ago
Louis Chatriot e4f1af34c3 Read to test database loading 12 years ago
Louis Chatriot 3663b2b0b0 Tested that an error is thrown when we try to change a document's _id 12 years ago
Louis Chatriot 3d506c24bd Tested that node errors are returned for badly formed queries 12 years ago
Louis Chatriot 11e2510d9a Able to test array fields 12 years ago
Louis Chatriot c27acd49cc Removed test on array field, to be done later 12 years ago
Louis Chatriot 2b79daa506 Undefined fields are removed 12 years ago
Louis Chatriot 7c0c4dd35a Ready to test array field matching 12 years ago
Louis Chatriot 0989434f03 typo 12 years ago
Louis Chatriot 8d0b4b03f6 Can find by date and objects 12 years ago
Louis Chatriot 973996fb8c Function to test thing equality cleanly 12 years ago
Louis Chatriot c57af28464 Use executor for db operations 12 years ago
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 f7c8687009 Can use multiple modifiers at once 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 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