DORA
Features
Multi-DatabasePostgreSQL, MySQL, SQLite & libSQLQuery HistorySearch, replay and analyze every querySchema VisualizationLive ER diagrams of your relationshipsDocker ContainersSpin up and manage local databasesSSH TunnelingReach private databases through secure tunnelsORM CockpitDiff Drizzle/Prisma schema, preview migrationsThemingCustom look and feel for your workspaceAnalyticsQuery PostHog with HogQL, build dashboards
All features
ChangelogDORADocumentationView web app
Dora docs
Dora docsGetting StartedInstallation

Connect a database

Connections

Features

Features

Guides

Reference

API ReferenceShared TypesDora runner (Go CLI/TUI)

Loading documentation…

Preparing this guide.

Loading page content

API Reference

Complete reference for all Tauri backend commands.

Dora runner (Go CLI/TUI)

A Go-based command-line and terminal-UI tool for building, releasing, dispatching CI, and running disposable test VMs for the Dora project.

Engineered by remco_stoeten
GitHub ProfileRepositoryFeaturesDocsChangelog
© 2026 Dora. All rights reserved.

Shared Types

TypeScript interfaces for backend data structures.

The following TypeScript definitions match the Rust structs used in the API.


ConnectionInfo

Represents a saved connection profile.

interface ConnectionInfo {
	id: string // UUID
	name: string
	connected: boolean
	database_type: DatabaseInfo
	last_connected_at?: number | null // Unix timestamp
	created_at?: number | null
	updated_at?: number | null
	favorite?: boolean | null
	color?: string | null // HTML Color Code or Hue ID
	sort_order?: number | null
}

DatabaseInfo

Discriminated union representing connection details for specific drivers. Defaults to external tagging in Serde.

type DatabaseInfo =
	| {
			Postgres: {
				connection_string: string
				ssh_config?: SshConfig | null
			}
	  }
	| {
			SQLite: {
				db_path: string
			}
	  }
	| {
			LibSQL: {
				url: string
				auth_token?: string | null
			}
	  }

interface SshConfig {
	host: string
	port: number
	username: string
	private_key_path?: string | null
	password?: string | null
}

QueryStatus

Status enum for asynchronous query execution.

enum QueryStatus {
	Pending = 0,
	Running = 1,
	Completed = 2,
	Error = 3
}

StatementInfo

Metadata about a completed or running statement.

interface StatementInfo {
	returns_values: boolean
	status: QueryStatus
	first_page?: any[] | null // Preview rows
	affected_rows?: number | null
	error?: string | null
}

DatabaseSchema

Full schema structure returned by get_database_schema.

interface DatabaseSchema {
	tables: TableInfo[]
	schemas: string[]
	unique_columns: string[] // Autocomplete helpers
}

interface TableInfo {
	name: string
	schema: string
	columns: ColumnInfo[]
	primary_key_columns: string[]
	row_count_estimate?: number | null
}

interface ColumnInfo {
	name: string
	data_type: string
	is_nullable: boolean
	default_value?: string | null
	is_primary_key: boolean
	is_auto_increment: boolean
	foreign_key?: ForeignKeyInfo | null
}

interface ForeignKeyInfo {
	referenced_table: string
	referenced_column: string
	referenced_schema: string
}

API Reference

Complete reference for all Tauri backend commands.

Dora runner (Go CLI/TUI)

A Go-based command-line and terminal-UI tool for building, releasing, dispatching CI, and running disposable test VMs for the Dora project.

On this page

ConnectionInfoDatabaseInfoQueryStatusStatementInfoDatabaseSchema