Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISQLBackend ¶
type ISQLBackend interface { HandleSimpleQuery(context.Context, string) (sqldata.ISQLResultStream, error) SplitCompoundQuery(string) ([]string, error) GetDebugStr() string }
func NewSimpleSQLBackend ¶
func NewSimpleSQLBackend(simpleCallback QueryCallback) ISQLBackend
TODO: debug message handling
type QueryCallback ¶
type SQLBackendFactory ¶
type SQLBackendFactory interface {
NewSQLBackend() (ISQLBackend, error)
}
func NewSimpleSQLBackendFactory ¶
func NewSimpleSQLBackendFactory(simpleCallback QueryCallback) SQLBackendFactory
type SimpleSQLBackend ¶
type SimpleSQLBackend struct {
// contains filtered or unexported fields
}
func (*SimpleSQLBackend) GetDebugStr ¶
func (sb *SimpleSQLBackend) GetDebugStr() string
func (*SimpleSQLBackend) HandleSimpleQuery ¶
func (sb *SimpleSQLBackend) HandleSimpleQuery(ctx context.Context, query string) (sqldata.ISQLResultStream, error)
func (*SimpleSQLBackend) SplitCompoundQuery ¶
func (sb *SimpleSQLBackend) SplitCompoundQuery(s string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.