package
Version:
v6.7.0
Opens a new window with list of versions in this module.
Published: Nov 15, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SQLBatch represents a batch result.
type SQLDump struct {
Text string `json:"text" yaml:"text"`
}
SQLDump represents a full database dump.
type SQLQuery struct {
Database string `json:"database" yaml:"database"`
Query string `json:"query" yaml:"query"`
}
SQLQuery represents a DB query.
type SQLResult struct {
Type string `json:"type" yaml:"type"`
Columns []string `json:"columns" yaml:"columns"`
Rows [][]any `json:"rows" yaml:"rows"`
RowsAffected int64 `json:"rows_affected" yaml:"rows_affected"`
}
SQLResult reprents a query result.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.