//Playground//
Try Pushbase in your browser

Real Postgres with instant APIs. No sign-up.

SANDBOX · 23:41:08 LEFT
query.sql
1-- Open todos per owner2select username, count(*)3from todos join profiles4  on profiles.id = todos.owner5where done = false6group by username;
Results4 ROWS · 11 MS
tim5
nancy3
emma2
lena1
//Playground//

Try Pushbase in your browser

A real Postgres database with instant APIs. No sign-up. Resets after 24 hours.

SANDBOX · EXPIRES IN 23:41:08
[ SCHEMA · PUBLIC ]
idint8
tasktext
donebool
prioritytext
owneruuid
created_attimestamptz
iduuid
usernametext
avatar_urltext
idint8
nametext
owneruuid
idint8
todo_idint8
bodytext
[ TRY ]
query.sql
SUCCESS4 rows · 11 ms
Connected · Postgres 17.4us-east-1Read/write · 24 h sandbox
[ 01 / 02 ]USE IT FROM YOUR APP
JAVASCRIPT
const { data } = await pushbase
  .from('todos')
  .select('task, priority')
  .eq('done', false)
PYTHON
data = pushbase.table("todos")
  .select("task, priority")
  .eq("done", False)
  .execute()
CURL
curl 'https://sbx-7f3a.pushbase.io/rest/v1/todos?done=eq.false' \
  -H "apikey: $PUSHBASE_KEY"
[ 02 / 02 ]KEEP YOUR WORK

Like what you built?

Save this sandbox as a free project. Your schema, data and keys come with it.