Database 🟑 PREVIEW - Schema Browser

Browse and edit database tables

Database Interface Screen

Overview

Database is your visual database management tool for General Bots Suite. Browse schemas, query data with SQL, edit records inline, and import or export CSV files. It provides a clean data grid interface for quick inspection and manipulation of database tables without leaving the Suite.


Features

Schema Browser

Explore all database tables and their structure:

  • Tables β€” List all tables in the connected database
  • Columns β€” View column names, types, constraints, and defaults
  • Indexes β€” Inspect primary keys, unique indexes, and foreign keys
  • Relationships β€” See foreign key relationships between tables

Data Grid

View and edit table contents directly in the browser:

  • Inline Editing β€” Click a cell to edit its value in place
  • Sorting β€” Click column headers to sort ascending or descending
  • Filtering β€” Apply per-column filters to narrow results
  • Row Selection β€” Select individual rows or all rows for bulk operations

SQL Query Editor

Write and execute custom SQL queries:

  • Syntax Highlighting β€” Color-coded SQL keywords and identifiers
  • Auto-Complete β€” Suggest table and column names as you type
  • Execute β€” Run the query and view results in the grid
  • Save Queries β€” Store frequently used queries for quick access
  • Query History β€” Re-run previous queries from history

Import / Export CSV

Move data between CSV files and database tables:

  • Import β€” Upload a CSV file and map columns to the target table
  • Export β€” Download table data or query results as CSV
  • Delimiter Options β€” Support for comma, semicolon, and tab delimiters
  • Encoding β€” UTF-8, Latin-1, and other character encodings

Pagination

Navigate large result sets efficiently:

  • Page Size β€” Choose rows per page (25, 50, 100, 500)
  • Page Navigation β€” First, Previous, Next, Last page buttons
  • Total Count β€” Display total row count for the query

Column Filters

Apply quick filters on any column:

  • Text Columns β€” Contains, equals, starts with, ends with
  • Numeric Columns β€” Equals, greater than, less than, between
  • Date Columns β€” Before, after, between dates
  • Null Filters β€” Show only null or non-null values

Keyboard Shortcuts

ShortcutAction
Ctrl+EnterExecute SQL query
Ctrl+SSave current query
Ctrl+NNew query tab
/Focus search / filter
EscapeClose modal or cancel edit
↑ ↓Navigate rows in grid
F2Edit selected cell
DeleteDelete selected row

Database via Chat


API Reference

EndpointMethodDescription
/api/database/tablesGETList all tables in the database
/api/database/tables/:nameGETGet table schema (columns, types, constraints)
/api/database/tables/:name/rowsGETQuery table rows with pagination and filters
/api/database/tables/:name/rowsPOSTInsert a new row
/api/database/tables/:name/rows/:idPUTUpdate a row by primary key
/api/database/tables/:name/rows/:idDELETEDelete a row by primary key
/api/database/queryPOSTExecute a custom SQL query
/api/database/query/savedGETList saved queries
/api/database/query/savedPOSTSave a new query
/api/database/query/historyGETGet query execution history
/api/database/import/csvPOSTImport CSV data into a table
/api/database/export/csvGETExport table or query results as CSV

  • Analytics β€” Visualize database data with charts and dashboards
  • CRM β€” Customer relationship data stored in database tables
  • Sources β€” Configure external database connections
  • Admin β€” Database administration and user permissions