A NoSQL / SQLite Hybrid. All your indices are belong to us. Master Quest.
Go to file
AJ ONeal 3a417440a5 add README.md 2015-09-21 20:14:26 -06:00
lib fix snakecasing, add order by 2015-09-21 20:14:07 -06:00
tests initial commit 2015-08-27 21:33:46 -06:00
README.md add README.md 2015-09-21 20:14:26 -06:00
config.test.js initial commit 2015-08-27 21:33:46 -06:00
package.json initial commit 2015-08-27 21:33:46 -06:00

README.md

Master Quest

An ORM for multi-master applications.

It is assumed that relationships are tight and therefore should be prefetched and that data is often added, but rarely updated (append/log-style over traditional update style).

API

  • save(data) - creates or updates based on presence of ID
  • upsert(id, data) - creates or updates based on existence in DB
  • destroy(id) - deletes from DB
  • get(id) - grab one by id
  • find(attrs, opts) - grab many by indexable attributes
    • opts.orderBy
    • opts.orderByDesc

maybe?

  • where(sql, vals) - WHERE