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) }
func NewSimpleSQLBackend ¶
func NewSimpleSQLBackend(simpleCallback QueryCallback) ISQLBackend
type QueryCallback ¶
type SimpleSQLBackend ¶
type SimpleSQLBackend struct {
// contains filtered or unexported fields
}
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.