lx-mongodb
Version:
Litixsoft backend driver for mongoDb.
98 lines (62 loc) • 2.69 kB
Markdown
<a name="v0.7.0"></a>
### v0.7.0 (2015-07-21)
#### Features
* update to mongodb 1.4.38 ([41e625f7](https://github.com/litixsoft/lx-mongodb/commit/41e625f766471602137e7b406e034f2f7d8d0e82))
<a name="0.6.0"></a>
## 0.6.0 (2014-03-13)
#### Bug Fixes
* findOneById now converts the id to a mongo ObjectID when the id is a string ([0fe51a84](https://github.com/litixsoft/lx-mongodb/commit/0fe51a846244c15b19b242dfc950e14bde615ef0))
#### Breaking Changes
* removed all deprecated functions (getAll, getOne, getOneById, getCount, insert, delete)
([1c753311](https://github.com/litixsoft/lx-mongodb/commit/1c7533110e6e294bffb25488cd051b166e22f471))
<a name="v0.5.2"></a>
### v0.5.2 (2013-12-17)
#### Features
* add collection to db object when db object is loaded from cache and the collecti ([495a129b](https://github.com/litixsoft/lx-mongodb/commit/495a129bb5f8cb33ffc059e57aa4f0872dd85033))
## v0.5.1
* set dependency mongodb to v1.3.19 since there is an error with v1.3.20
## v0.5.0
* rename some functions to match the mongo driver names (find, findOne, insert, remove, count)
* create an index when a property in the schema has the setting index: true
* create an unique index when a property in the schema has the setting unique: true
* add .jshintrc to store the jshint settings
## v0.4.7
* update url to mongojs dependency
## v0.4.6
* refactor caching of database connection, connections are now cached by connectionString
## v0.4.5
* also convert data that is of type 'string' and format 'date' in the convert function
## v0.4.4
* add 'trim' and 'strictRequired' to the validationOptions
## v0.4.3
* add option for multi update in update function in BaseRepo
## v0.4.2
* add function aggregate(pipeline, options, callback) to BaseRepo
## v0.4.1
* refactored gridFs
## v0.4.0
* add api documentation
## v0.3.4
* add gridFs error handling
## v0.3.3
* gridFs implemented with mongojs
## v0.3.2
* fix error in function create(), now also arrays can be passed as doc
## v0.3.1
* fix error in function convertToMongoId(), $in array with mongoId's was not identified correctly
## v0.3.0
* update lx-helpers
* refactor to take advantage of the new type checking in lxHelpers
* refactor sort option, it can be now a string, array or object
## v0.2.6
* refactor some param checks to callback with an TypeError instead of throwing an exception
## v0.2.5
* refactor baseRepo.delete()
* update tests
* change deprecated mongo option {safe: true} to {w: 1}
## v0.2.4
* callback with TypeError in getById() when id is null or undefined
## v0.2.3
* change some Errors to TypeErrors
* callback with TypeError in getById() when id is of wrong type
## v0.0.1 project initial