Changelog
Changelog for updates on the package.
Last updated
Was this helpful?
Changelog for updates on the package.
Last updated
Was this helpful?
Fixed Collection#createBulk typings ()
Added #save
method to the data returned by the Collection#get, Collection#fetch, Collection#getOrCreate and Collection#fetchOrCreate methods (see and ) ()
Fixed default values not being applied when creating entries in collections ()
Fixed crucial error on database instantiation (see ) ()
Added database
property for Collections ()
Fixed database entries' property on instantiation (, )
Database#pull() now support objects being pulled ()
Removed the possibility of creating two collections with the same name ()
Collection#create return now includes createdAt
and updatedAt
keys ()
Collection#has: removed double check for parameter type ()
Collection: createBulk
method ()
Database: getCollection
method ()
Database: rename
method ()
Database: update
method ()
Fixed Database#add() and Database#subtract() method when using NaN
()
Rephrased typings ()
Removed useless code ()
Changed Collection#remove() return from all the collection's entries to the removed entries only ()
Collection: reset
method ()
Collection#update() now returns the updated data instead of all the collection's data ()
Added support for timestamp attributes (createdAt
and updatedAt
) for collections ()
Improved typings, a lot ()
Adapted Collection#create() method to support the new incrementable properties feature ()
Added support for incrementable properties in Database#createCollection() method ()
Fixed typings ()
Database: deleteCollection
method ()
Changed Collection#create() method's return type ()
Fixed Database#set() method, again ()
Fixed Database#set() method ()
Database: Changed default tabSize value from 2 to 0 ()
Updated Collection#update() method ()
Removed Collection#updateOrCreate() method ()
Added support for spaces in keys' names ()
Collection: fetchOrCreate
method ()
Fixed Collection#has() method ()
Removed useless code inside the Collection#getOrCreate() method ()
Removed useless code inside the Collection#updateOrCreate() method ()
Moved the validation of the filter
parameter to a private method ()
More examples on README ()
Return null
instead of an empty array when no results are returned ()
Removed an useless if-statement inside the Collection#update() method ()
Database: fetch
method ()
Collection: fetch
, getOrCreate
and updateOrCreate
methods ()