Documentation
¶
Index ¶
- Variables
- type Field
- type Metatype
- type Qrunner
- func (q *Qrunner) Close() error
- func (q *Qrunner) Dsn() string
- func (q *Qrunner) Metacmd(ctx context.Context, cmd Metatype, param string, outjson bool) (*Result, error)
- func (q *Qrunner) QsearchMakeQuery(ctx context.Context, tblname, field, search string) (string, error)
- func (q *Qrunner) Query(ctx context.Context, sqlstr string, outjson bool) (*Result, error)
- type Result
- type Table
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TextFieldTerm is field name from ui, indicating all text fields TextFieldTerm = "*text*" TextSqlNames = []string{ "varchar", "text", "char", "nchar", "nvarchar", "ntext", } )
View Source
var QrunnerNotInitialized = errors.New("not connected to database")
QrunnerNotInitialized not connected to database
Functions ¶
This section is empty.
Types ¶
type Qrunner ¶
type Qrunner struct {
// contains filtered or unexported fields
}
Qrunner holds database handle and executes requested queries
func (*Qrunner) QsearchMakeQuery ¶
Click to show internal directories.
Click to hide internal directories.