On this page
The database is where your app saves what people give it: sign-ups, orders, messages, posts. It is made of tables, a bit like spreadsheets, with a row for each item. You do not have to create tables yourself. Tell the AI what to save and it creates them.
You need to turn on Swarmz Cloud first.
Get a table by asking#
Describe the feature in the chat:
Let visitors submit a testimonial with their name, a rating from 1 to 5 and a message. Save each one in the database and show the approved ones on the home page.
The AI creates a table, builds the form and wires them together. Open Tools, Cloud, Database to see it. Tables appear as soon as your app saves information, and an empty list reads "No tables yet".
Keep tables private with access rules#
Every table has an access setting, shown as Protected or Open.
- Protected means row-level security (RLS) is on. Each rule says who can read or change which rows, for example "people can see only their own rows".
- Open means RLS is off, so anyone with a valid session can read and change every row. The page warns about this.
- A table that is protected but has no rules can be read by nobody. Add at least one rule.
Click Access rules to see the rules for each table, with a plain description such as "Lets signed-in users see only their own rows". To change them, ask the AI:
Make the orders table private so each signed-in customer can only see and edit their own orders.
The Overview page has a Your data card that marks any open tables and offers to ask the AI to protect them.
Look at and change the data#
Click a table to open its rows. You can filter, add a row, edit a cell, delete rows and export to CSV. See Browse and edit your data.
Backups#
Click Backups at the top of the Database page to see saved copies of your database. If none have been made yet, the page says "No backups yet".
For advanced users: the SQL editor#
Tools, Cloud, SQL editor lets you run your own queries. A confirmation appears before a query that changes data runs. If you are not comfortable with SQL, ask the AI instead.
Good to know#
- Who can change things. Only people with edit access can add, edit or delete rows. Others see "View-only access".
- The AI and your database. With Allow AI edits the AI can change your tables as you build. With Review first it asks you before it does.
- Deleting is permanent. Deleted rows cannot be undone from this page. Check the count in the confirmation.
- The database size appears in Overview and Cloud settings. See Cloud usage and limits.
Common questions#
Can I see my data in a spreadsheet?
Yes. Open a table and click Export CSV.
My users can see each other's data. What do I do?
Your table is probably Open or has a rule that allows all rows. Ask the AI to restrict it to each user's own rows.
Can the AI change my tables without asking?
Only if the Cloud setting is Allow AI edits. Otherwise it asks first.
Was this helpful?
Related articles
Browse and edit your data
Open a table, search and filter rows, fix a value, add or delete rows and export your data to a CSV file.What is Swarmz Cloud?
Swarmz Cloud is the backend for your app: a database, user accounts, file storage and server functions, set up and looked after for you.Add sign-in to your app
Let people create accounts and log in to your app with email, Google, Apple and more, then manage those users.Cloud usage and limits
See what your app's backend has used, how it is charged in credits, and what to do if the database is full or Cloud is paused.
Still have a question?
Ask about this article, or talk to a person.