Data Store
Manage application-scoped key-value data tables and user data rows.
| Operation | GraphQL |
|---|---|
| List tables | app_data_tables(where: {organization_id: {_eq: $orgId}, application_id: {_eq: $appId}}, order_by: {created_at: asc}) |
| Create table | insert_app_data_tables_one(object: {organization_id, application_id, slug, display_name, mode, indexed_paths, plan_access}) |
| Update table | update_app_data_tables_by_pk(pk_columns: {id: $id}, _set: {display_name, mode, indexed_paths, plan_access}) |
| Delete table | delete_app_data_tables_by_pk(id: $id) |
| List rows | app_user_data(where: {data_table_id: {_eq: $tableId}}, order_by: {updated_at: desc}, limit: $limit) |
Last updated on