Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileGroups ¶
type FileGroups []FileGroup
type Param ¶
type Param struct {
Ordinal int // User Defined Order (generally used to order the params in the func call
QueryPosition int // Order in the query
Name string // Database field name
Type string // DB type
TypeID uint32 // DB type ID
Nullable bool // True means the param is nullable
Generated bool // Indicates type should be generated (locally defined)
Query *Query // The owning query
}
type Params ¶
type Params []*Param
func (Params) Names ¶
func (pp Params) Names() stringlist.Strings
type Query ¶
type Result ¶
type Result struct {
Type string // Type of the query result, provided in query descriptor or inferred from table typing
IsSingleTable bool // If a single table in the response, you can use table type mapping to resolve type
Schema string `json:"schema,omitempty"` // Schema of the single table response, empty otherwise
Table string `json:"table,omitempty"` // Table of the single table response, empty otherwise
Params Params `json:"params,omitempty"` // Params in the response, empty otherwise
}
func (Result) GenerateType ¶
Click to show internal directories.
Click to hide internal directories.