Merge branch 'master' of github.com:coolaj86/node-masterquest-sqlite3

This commit is contained in:
AJ ONeal 2016-03-03 20:22:23 -05:00
commit 27bedce5ba
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ It's kinda CRUDdy... but don't let that scare you.
* `upsert(id, data)` - creates or updates based on existence in DB (use this)
* modifies `createdAt` and or `updatedAt`
* `create(id, obj)` - same as above, but fails if the object exists
* `save(data)` - (just don't use this, please) creates or updates based on presence of ID
* `destroy(id)` - mark a record as `deletedAt` from DB
* `get(id)` - grab one by id