package
Version:
v0.0.0-...-9ca7e33
Opens a new window with list of versions in this module.
Published: Dec 1, 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
¶
type Column struct {
ColumnName string `json:"column_name"`
DataType string `json:"data_type"`
ColumnType string `json:"column_type"`
IsNullable bool `json:"is_nullable"`
ColumnKey string `json:"column_key"`
ColumnDefault *string `json:"column_default,omitempty"`
Extra string `json:"extra"`
}
type CurrentQuery struct {
ExecutionStartedAt int64
Query string
IsPreparedStatement bool
}
type QueryPlanQueriesPayload struct {
Queries []QueryPlanQuery `json:"queries"`
}
type QueryPlanQuery struct {
ExecutedAt int64 `json:"executed_at"`
Duration int64 `json:"duration"`
RowCount int64 `json:"row_count"`
Query string `json:"query"`
IsPreparedStatement bool `json:"is_prepared_statement"`
}
type QueryPlanTablesPayload struct {
Tables []Table `json:"tables"`
}
type QueryPlanTablesResponse struct {
Token string `json:"token"`
}
type Table struct {
TableName string `json:"table_name"`
Columns []Column `json:"columns"`
PrimaryKeys []string `json:"primary_keys"`
EstimatedRowCount int64 `json:"estimated_row_count"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.