This repository has been archived by the owner on Mar 4, 2019. It is now read-only.
Releases: dmfay/massive-js
Releases · dmfay/massive-js
v4.6.3
v4.6.2
v4.6.1
v4.6.0
Massive now composes database APIs more intelligently. Now you can have a companies
table and a db/companies
script directory, and use both! db.companies
will be a table with the usual set of query and persistence functions, but it's also a namespace for your scripts and you can db.companies.doSomethingComplicated()
.
There are only a couple of scenarios that won't work with this:
- if a script or function would overwrite a default API function (like
companies.findOne
) - if a script and a function resolve to the same path
In both cases, you'll get an exception on spinup.
v2.7.3
v4.5.0
New
- Deep insert: now you can
insert
a record along with related rows in a single transaction! - Variadic functions are supported!
Deprecated
db.run
will be removed in a future release. Update your code to usedb.query
instead.