| 14 | * guaranteed, the rest are populated when the driver exposes them. |
| 15 | */ |
| 16 | export 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 | |
| 27 | export interface SQLResult { |
| 28 | rows: any[]; |
nothing calls this directly
no outgoing calls
no test coverage detected