Database

A real SQL database you can look inside.

Apps built on OXDAR store their data in a SQL database that is part of the project. From the workspace you can browse tables, edit rows, run your own queries and keep backups, so you are never guessing what your app has saved.

Illustration of the Database in the OXDAR workspace — not a live build.

Why it helps

Browse tables and rows

Open any table and see the actual records your app has stored, which makes testing and debugging much easier.

Edit data directly

Correct a value, add a test record or remove a bad row without writing code.

Run SQL

Use the SQL runner for questions the interface does not answer, like counting records or checking a relationship.

Backups

Keep backups of your data so a mistaken edit is not the end of the story.

How it works

  1. 1

    Describe your data in the prompt

    Say what you need to store, such as customers, orders or appointments, and how those things relate. The agent designs the schema.

  2. 2

    Open the Database view

    Under More in the workspace, choose Database to see the tables created for your app.

  3. 3

    Inspect and adjust

    Browse rows, edit them, or run a SQL query to check what the app is saving as you test it.

  4. 4

    Publish with migrations

    When you publish, schema changes are applied to the live database so it matches the new version of the app.

What people use it for

Directories and catalogues

Products, members, properties or listings that can be searched and filtered.

Records and submissions

Leads, bookings, requests or survey answers saved for later review.

Dashboards

Reports built on top of tables of transactions, tasks or inventory.

Good to know

Limits and prerequisites worth knowing before you start.

  • The preview database and the live database are separate. Test data you create in the preview does not appear on the published app.
  • Editing rows or running SQL changes real data in that environment, so take a backup before doing anything destructive.
  • Schema design comes from the AI's reading of your prompt. Review the tables and fields to make sure they fit what you need.
  • Apps handling sensitive or regulated data need your own review of how that data is stored and protected.

Related documentation

Frequently asked questions

What kind of database is it?

A SQL database that belongs to your project, with tables you can browse, rows you can edit and a place to run queries.

Does published data match what I see in preview?

No. Preview and live use separate databases. Publishing applies schema migrations, not your test rows.

Can I add sign-in for the people using my app?

Yes. Generated apps can include user sign-in and accounts when you ask for them in your prompt.

Can I keep backups?

Yes, the Database view includes backups.

Where do I store API keys the app needs?

In the Secrets view, which stores environment variables encrypted, rather than inside the code.

Try the Database on your own idea

Describe your idea and let Oxdar build the first version. 25 free credits to start, no card required.