Real PostgreSQL 16
Your data lives in PostgreSQL, with its types, constraints, triggers and functions.
Database
A real PostgreSQL 16 database for every project, reachable from your app with a fluent SDK, protected by row-level security and typed from your own schema.
What’s included
Your data lives in PostgreSQL, with its types, constraints, triggers and functions.
Equality, range, pattern, array, range-type and full-text filters, ordering, counting and pagination.
Fetch related rows in one request with an embed like author:authors(*).
Expose PostgreSQL functions to your app. Set-returning functions filter like tables.
Write policies in SQL with auth.uid() so each user only reaches their own rows. The database enforces them, not the client.
Generate a Database type from your schema and get typed columns, inserts and function arguments.
The pgvector extension ships with the database image, for similarity search.
Turn on pg_graphql for a project when you want a GraphQL API over its schema.
Choose MongoDB as the engine for a project. Isolation then uses document owners instead of row-level security.
How it works
Use the Studio table editor or plain SQL.
Turn on row-level security and describe who can see which rows.
Run aurabase-gen to get a Database type for your client.
Call aura.db.from(…) from your app, with the user’s session.
REST API
The SDK is a thin layer over these routes. Send your project’s API key with each request.
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/db/{table} | Read rows, with filters, ordering and embeds. |
| POST | /v1/db/{table} | Insert one or several rows, or upsert. |
| PATCH | /v1/db/{table} | Update rows. |
| DELETE | /v1/db/{table} | Delete rows. |
| POST | /v1/db/rpc/{function} | Call a PostgreSQL function. |
| GET | /v1/db/schema | List the project’s tables and functions. |
| GET | /v1/db/functions | List the functions defined in the project. |
| POST | /v1/db/raw | Run a SQL statement. Reserved to the service role. |
Questions
Ready to store data?
A database is included in every project. No credit card required.