Skip to content

ToolJet Database

Ship internal tools faster.
The database is built in.

A PostgreSQL database inside ToolJet. Create tables in a visual editor, query them without code, and test on development and staging data before production.

Design tables in a visual editor.

Design a relational database in a visual interface. No terminal and no database admin, with PostgreSQL underneath.

Manage data

Manage data without touching the terminal.

Browse, filter, sort and bulk-import records. Operations and business teams can work with the data directly.

Query

Query visually, or write SQL.

Either way, results bind straight to the components in your app.

EnvironmentsNewDevelopment lifecycle

Separate data for development, staging and production.

Try changes on development and staging data, and move to production only after the tests pass. Multiple environments are included on Cloud Enterprise and on Self-hosted Team and Enterprise. Compare plans.

purchase_requestsToolJet Database
idrequesteramountstatus
1Test requester A$100Pending
2Test requester B$2,500Approved
3Test requester C$30,000Rejected
4Test requester D$750Pending
4 rowsTest data. Safe to change.Draft v5 of Purchase approvals reads this data.
  • Each environment has its own data

    Development, staging and production never share records.

  • Apps follow their environment

    An app in development reads development data. Promote it and it reads the next environment's.

  • Production comes last

    Real records are only touched by the app you have tested and released.

Part of every
ToolJet app.

Keep new app data in ToolJet Database, or connect a system you already have through an integration. An app can use both.

  • Ready in seconds

    Start building without connecting a data source. ToolJet AI can create the tables for you.

  • Access you control

    All access goes through ToolJet sign-in and your app and resource permissions.

  • 8 data types

    serial, varchar, int, bigint, float, boolean, date with time and jsonb.

  • Direct app binding

    Bind results to tables, charts and forms. Connect actions to queries that write records.

Used by teams at

SwisscomDuolingoGojekOrangeNavitas

Frequently asked questions

What is ToolJet Database?
ToolJet Database is the database built into ToolJet, on top of PostgreSQL. Create tables, define relationships and manage records in a spreadsheet-like editor, then query them from your apps like any other data source.
Do I need to set up or host a separate database?
App builders can use ToolJet Database without connecting a separate data source. ToolJet Cloud manages the database infrastructure for you. On Self-hosted deployments, your administrator configures and operates the PostgreSQL and PostgREST services as part of the ToolJet deployment.
Does ToolJet Database support development, staging and production environments?
Yes. ToolJet Database keeps separate data for development, staging and production. Build and test against development and staging data, and an app only works with production data once it has been promoted to production.
Can I write SQL against ToolJet Database?
Yes. Use the visual query builder for everyday reads and writes, or the SQL editor to write and run more complex SQL queries directly on your ToolJet Database.
Does ToolJet Database support relationships between tables?
Yes. Primary keys uniquely identify each record, and foreign keys link tables while keeping referential integrity. Column types include serial, varchar, int, bigint, float, boolean, date with time and jsonb.
Who can access the data in ToolJet Database?
Tables are only accessible within your ToolJet organization. Access goes through ToolJet's authentication layer. Configure app and resource permissions, and test who can read or change sensitive records before rollout.
When should I use ToolJet Database instead of an existing database?
Use ToolJet Database for new app data such as approval requests, inventory records or internal task tracking. Keep an existing PostgreSQL, MySQL or other system as the source of truth when it already owns the data, and connect it through a ToolJet integration. An app can query both; connecting an external database does not copy it into ToolJet Database.
How would I build an inventory or approval app with ToolJet Database?
For inventory, create related tables for items, locations and stock movements, then connect forms and tables to queries. For approvals, model requests, statuses and decision records. These are example designs: configure allowed actions, validate writes and test concurrent updates and access rules for your own app.

Stop managing a separate database for internal apps.

Build on a database that is already part of your app platform.