Commit Graph

142 Commits (94cac41acb0374c969c05bc61cc4fc90ece58426)

Author SHA1 Message Date
Antti Saarinen b0bbf86e6d added Datastore.count with documentation and tests 11 years ago
Louis Chatriot c552e37772 Removed all references to the useless datafileSize 12 years ago
Louis Chatriot 829441becb Put datafileSize in the persistence module where it belongs 12 years ago
Louis Chatriot 4058b23ddb treatRawData removed from Datastore 12 years ago
Louis Chatriot 46c4723fc5 fs and path are both required only in the persistence module 12 years ago
Louis Chatriot dcb1e16b92 Only the persistence module requires fs now, better separation of tasks 12 years ago
Louis Chatriot 99fb91d700 Updated readme and bumped version 12 years ago
Louis Chatriot 90da65eeaf Buffer all operations before load and no more pipelining 12 years ago
Louis Chatriot ccc766ca2a Use only null for err if no error 12 years ago
Louis Chatriot 122cea581d Tested that db is not modified if a modifier throws 12 years ago
Louis Chatriot 5b29286e89 Can use indexes for comparison queries 12 years ago
Louis Chatriot fce60d19fa Able to use indexes for matches 12 years ago
Louis Chatriot ae0c0dd05a typo 12 years ago
Louis Chatriot 4dad94f971 Pipelining tested 12 years ago
Louis Chatriot 9f8d599628 Inserts are correctly pipelined 12 years ago
Louis Chatriot bf0b879626 Inserts are correctly pipelined 12 years ago
Louis Chatriot fa2ffeb8de Sparse indexes work 12 years ago
Louis Chatriot 0c86d08bf8 Complete index behaviour tested 12 years ago
Louis Chatriot 123ef7e8db Database loading keeps datafile and inner data consistent 12 years ago
Louis Chatriot 32f568d063 Update now completely works with indexing, only remove needs to be tested 12 years ago
Louis Chatriot 6178a94997 If a simple update violates a constraint, all changes are rolled back and an error thrown 12 years ago
Louis Chatriot a427fb3664 After an update, the same pointers are shared 12 years ago
Louis Chatriot 17f02e0381 Test on previous update behaviour corrected 12 years ago
Louis Chatriot 9feeb26c4f Can batch-update an index, no change if an error was thrown 12 years ago
Louis Chatriot 82e4be9b1a Insertion still works as before 12 years ago
Louis Chatriot 8bb07ad840 All queries work 12 years ago
Louis Chatriot b67232400c Update works with indexing 12 years ago
Louis Chatriot 6007248d84 Loading the database-type tests pas 12 years ago
Louis Chatriot 1b7366abd3 Ready to roll out new architecture 12 years ago
Louis Chatriot 14b4c245bf Insertion still works as before with indexing 12 years ago
Louis Chatriot 08804dde82 Still some problems to solve with indexing 12 years ago
Louis Chatriot 5b62825e8f Finished correcting typos 12 years ago
Louis Chatriot 7c7489124f moar typos 12 years ago
Louis Chatriot c6c646ccd1 Typos 12 years ago
Louis Chatriot a369d1b110 If ensureIndex cant create a new index because a unique constraint is not met, nothing done 12 years ago
Louis Chatriot 9c42221f95 Database loading doens't work if a unique constraint is violated 12 years ago
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