Commit Graph

40 Commits (40ad547dc253e1970eff18c07b601952b4fd90ff)

Author SHA1 Message Date
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 c816affc68 Removed useless persistWholeDatabase 12 years ago
Louis Chatriot 578c60ab79 Better way to update 12 years ago
Louis Chatriot 4b780922d6 Use append-only format for removes too 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 e4f1af34c3 Read to test database loading 12 years ago
Louis Chatriot bc626afed6 All calls to model.match are wrapped in a try catch now 12 years ago
Louis Chatriot 5568b3d08e Better comments 12 years ago
Louis Chatriot c57af28464 Use executor for db operations 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 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 ae8b43aad4 Deep copy finished and tested 12 years ago
Louis Chatriot a134fa4cca Updated comments 12 years ago
Louis Chatriot af9192881b Able to make the find bench pass through use of process.nexttick 12 years ago
Louis Chatriot 06da7d4eaa Serialize and deserialize primitive types 12 years ago
Louis Chatriot d6da8b7d8d Externalize serialization and deserialization 12 years ago
Louis Chatriot 7ca9c8fe0d Update function doesnt swallow _id anymore 12 years ago
Louis Chatriot dc6b4a25d7 Test inserting documents 12 years ago
Louis Chatriot 502e29ab56 Removed test case 12 years ago
Louis Chatriot 4f0f534885 Able to remove - all CRUD operations completed 12 years ago
Louis Chatriot bf9bddb408 Able to choose whether to update multiple docs or just one 12 years ago
Louis Chatriot c6ef338c8d Can update docs 12 years ago
Louis Chatriot 72e7ef2bc8 Can persist the data we want, not just the cached version 12 years ago
Louis Chatriot 964f7a9953 Can persist the whole database to disk 12 years ago
Louis Chatriot ad2a0700dc Able to find one specific document 12 years ago
Louis Chatriot 6aeaa80aff Can find docs 12 years ago
Louis Chatriot fa2580eefb Able to insert doca 12 years ago
Louis Chatriot 4c4d55f541 Able to load and understand a database 12 years ago
Louis Chatriot 8dd68766b6 Able to load the database from the filesystem 12 years ago