API Console — In-Memory Adapter
Prove the DB contract (CRUD) with zero persistence. Then switch to LocalStorage and JSONBin.
Boot / Reload
getDoc
(no input)
Run
findMany
{ "col": "todos", "where": { "field": "assignedTo", "op": "eq", "value": "u-alice" } }
{ "col": "todos", "where": { "field": "assignedTo", "op": "eq", "value": "u-alice" } }
Run
findOne
{ "col": "users", "where": { "field": "name", "op": "eq", "value": "Alice" } }
{ "col": "users", "where": { "field": "name", "op": "eq", "value": "Alice" } }
Run
insertOne
{ "col": "todos", "data": { "title": "From console", "done": false, "assignedTo": "u-bob", "projectId":"p-1", "tagIds":[], "subtasks":[], "commentIds":[] } }
{ "col": "todos", "data": { "title": "From console", "done": false, "assignedTo": "u-bob", "projectId":"p-1", "tagIds":[], "subtasks":[], "commentIds":[] } }
Run
updateOne
{ "col": "todos", "id": "t-1", "patch": { "done": true } }
{ "col": "todos", "id": "t-1", "patch": { "done": true } }
Run
deleteOne
{ "col": "tags", "id": "t-setup" }
{ "col": "tags", "id": "t-setup" }
Run