Merge branch 'master' of github.com:coolaj86/node-masterquest-sqlite3
This commit is contained in:
commit
27bedce5ba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue