Documentation
¶
Index ¶
- type Compiler
- func (co *Compiler) Compile(w *bytes.Buffer, qc *qcode.QCode) (Metadata, error)
- func (co *Compiler) CompileEx(qc *qcode.QCode) (Metadata, []byte, error)
- func (co *Compiler) CompileQuery(w *bytes.Buffer, qc *qcode.QCode, md *Metadata) error
- func (c *Compiler) GetDialect() dialect.Dialect
- func (co *Compiler) RenderSetSessionVar(name, value string) string
- func (c *Compiler) RenderVar(w *bytes.Buffer, md *Metadata, vv string)
- func (c *Compiler) SetSchemaInfo(tables []sdata.DBTable)
- type Config
- type IntStack
- type Metadata
- type Param
- type Variables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
func NewCompiler ¶
func (*Compiler) CompileQuery ¶
func (*Compiler) GetDialect ¶ added in v3.2.0
func (*Compiler) RenderSetSessionVar ¶ added in v3.2.0
func (*Compiler) SetSchemaInfo ¶ added in v3.8.0
SetSchemaInfo passes table metadata to the dialect for identifier mapping.
type IntStack ¶
type IntStack struct {
// contains filtered or unexported fields
}
type Variables ¶
type Variables map[string]json.RawMessage
Click to show internal directories.
Click to hide internal directories.