Query records
Read bounded results and inspect the query plan.
Write and import records
Use upserts, ordered updates, exports and Storage imports.
Choose the correct database surface
Start with the record your application owns. Anorders Table holds current orders. A View can show current open orders, while a Materialized View can serve yesterday’s completed order totals until it refreshes.
Use a restricted Table when only specific users, Groups or Service Accounts should access its rows. Build indexes for a known query and enable audit before the changes you need to investigate.
Build a Table
- Open Databases → Tables.
- Create a Table with a stable name, description, category, and field definition.
- Decide whether access is unrestricted within the resource role boundary or restricted to selected users and groups.
- Enable row audit if the application requires evidence for subsequent inserts, updates, and deletes.
- Add test rows and verify filters, field types, and authorization.
- Read and mutate the Table from a Component, Endpoint, job, or the Platform API.
What the Table panel exposes
From Databases → Tables, select a Table and open Definition. The side panel keeps the data grid in context while exposing the Table name, category, description, metadata, size, Definition, Audit, and Restricted controls. Select a column row to open its own field-definition panel, where the name, type, primary-key setting, default generation, and metadata are visible together. Use Audit for evidence of subsequent inserts, updates, and deletes; switching it on does not backfill older rows. Use Restricted with users or Groups for the resource boundary—do not treat a category or hidden UI field as an access-control rule.Views
A View is a saved, read-only query surface over accessible Tables. The structured builder covers projections, joins, nested filters, grouping, functions, casts, and stable sorting while retaining source-field lineage. An explicitly enabled Resource Admin can also author a restricted raw SQLSELECT/WITH definition.
Use Database Views for the complete builder flow, output-query contract, ACL behavior, governed source actions, limits, failures, and links to every generated Database Views API operation.
Materialized Views
A Materialized View persists query output for expensive aggregation and read-heavy workloads where controlled freshness is acceptable. It requires a unique output key so refresh can run concurrently; optional output indexes support real filter and sort paths. The manual API uses HTTP 202 but completes the database refresh before it returns. Scheduled refreshes are tracked as Automation Jobs, while governed mutation previews over materialized output have their own asynchronous status resource. Materialized Views documents these boundaries, freshness metadata, scheduling, failure behavior, and lifecycle.Safe actions through a View
When direct field lineage is available, a View can prepare an update or delete against a source Table:- Choose the action and target Table.
- Map View keys to target keys.
- Preview the exact affected selection.
- Wait for a large preview operation if it is processed asynchronously.
- Submit the short-lived mutation token returned by preview.
Audit
Audit is opt-in per Table and captures inserts, updates, and deletes performed after it is enabled. The Databases → Audit workspace provides a cross-Table grid, while a Table-specific history narrows the evidence to that Table or row. Audit entries expose operation, actor, time, Table identity and version, row key, changed field names, before/after values, the row snapshot, andoperationId. List views use a bounded projection; open one audit event to retrieve its complete evidence and follow the correlated Trace.
Enabling audit starts capture from that point forward. It does not reconstruct earlier changes.
Cache
Databases → Cache exposes the application cache namespace, not the platform’s internal operational state. Operators can:- list logical keys;
- inspect a value and its type;
- check size and TTL;
- create or replace a key;
- set expiration, make a key persistent, or delete it.
Clone, export, and lifecycle
- Clone creates a new Table for controlled copies or environment preparation. REST starts a background task; low-code waits by default and supports an explicit asynchronous mode.
- Export streams selected rows to CSV, TSV, NDJSON, or XLSX and places the result in Storage. REST starts a background task, while low-code waits for the finalized file by default or can request an asynchronous operation. You can choose a private destination, the Storage root, or an accessible folder, and assign retention.
- Delete is recoverable while the Table remains in its deleted lifecycle state.
- Restore returns a deleted definition and its retained data when allowed.
- Truncate removes rows; identity restart is opt-in rather than implicit. Truncate does not create row-level audit events, so use a deliberately confirmed filtered delete when every removed row must remain in audit history.
Gzip import and export
To export a gzip file, choose CSV, TSV, NDJSON, or Excel and enable Compress as gzip (.gz). The output keeps the selected format inside the archive. Import accepts the same formats with a.gz suffix and uses the existing preview, mapping, and commit flow.
Access model
Resource roles and per-resource ACLs work together:
The principal executing a Component or job is evaluated at runtime. Giving a developer access in the UI does not automatically grant the same access to a service account used by automation.
How the data plane works
Table and View definitions live in the control plane, while generated data structures hold application rows. Requests are validated against the stored definition, authorized against current roles and ACLs, and compiled from the structured query contract. Cache and query planning improve performance without replacing durable data truth. Schema-changing operations, clones, exports, scheduled materialized refreshes, and materialized action previews may cross asynchronous execution boundaries. Follow the operation-specific result: an export or Job is tracked separately, an action preview can return a pollable operation, and a successful manual materialized refresh already represents completed work even though its HTTP status is 202.Instance readiness
Requests can wait for an instance to become ready after startup or reconnection. During a schema migration, the Platform API can return a temporary maintenance response.Production checklist
- Use stable Table and field names.
- Select only the fields a caller needs.
- Bound page size and bulk mutations.
- Enable audit before regulated data starts changing.
- Keep external side effects outside database transactions.
- Index materialized output according to real filters and sorts.
- Give automation service accounts explicit access to restricted sources.
- Treat Cache as disposable and choose TTLs intentionally.
- Apply retention and ACLs to exported CSV, TSV, NDJSON, and XLSX files.
Related guides
Definition reference
Select field types, constraints, defaults, references, and audit deliberately.
Database Audit
Trace row-level inserts, updates, and deletes to actors and operations.
Database Views
Build reusable read models and query their governed output.
Materialized Views
Persist expensive results and operate their refresh lifecycle.
Database Cache
Accelerate reads and coordinate short-lived work with TTL-bound application state.
Low-code Database API
Query, mutate, and transact from Components.
Automation
Refresh materialized Views and process data asynchronously.
Storage
Find exported files and apply access and retention policies.
IAM
Combine resource roles with user and group ACLs.

