MCPcopy Create free account
hub / github.com/bytebase/dbhub / DatabaseMessage

Interface DatabaseMessage

src/connectors/interface.ts:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 * guaranteed, the rest are populated when the driver exposes them.
15 */
16export interface DatabaseMessage {
17 /** Human-readable message text */
18 text: string;
19 /** Severity indicator where available; interpret per database (PostgreSQL: level name like NOTICE/WARNING; SQL Server: numeric severity class as a string) */
20 severity?: string;
21 /** Database-specific message code (PostgreSQL: SQLSTATE; SQL Server: message number) */
22 code?: string | number;
23 /** 1-based line number within the SQL batch that produced the message, when reported */
24 line?: number;
25}
26
27export interface SQLResult {
28 rows: any[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected