Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLDataSource ¶
type SQLDataSource interface {
Begin() (*sql.Tx, error)
Exec(string, ...interface{}) (sql.Result, error)
Query(string, ...interface{}) (*sql.Rows, error)
QueryRow(string, ...any) *sql.Row
GetTableMetadata(...string) (sqltable.SQLTable, error)
GetSchemaType() string
GetDBName() string
}
func NewDataSource ¶
func NewDataSource(authCtx *dto.AuthCtx, genericSQL genericSQLDataSourceFunc) (SQLDataSource, error)
func NewGenericSQLDataSource ¶ added in v0.5.571
Click to show internal directories.
Click to hide internal directories.