Documentation
¶
Index ¶
- type Environment
- func (e *Environment) CloneWithRow(r row.Row) *Environment
- func (e *Environment) GetDB() *database.Database
- func (e *Environment) GetParamByIndex(pos int) (types.Value, error)
- func (e *Environment) GetParamByName(name string) (v types.Value, err error)
- func (e *Environment) GetRow() (row.Row, bool)
- func (e *Environment) GetTx() *database.Transaction
- type Param
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
Environment contains information about the context in which the expression is evaluated.
func New ¶
func New(db *database.Database, tx *database.Transaction, params []Param, row row.Row) *Environment
func (*Environment) CloneWithRow ¶ added in v0.17.0
func (e *Environment) CloneWithRow(r row.Row) *Environment
func (*Environment) GetDB ¶
func (e *Environment) GetDB() *database.Database
func (*Environment) GetParamByIndex ¶
func (e *Environment) GetParamByIndex(pos int) (types.Value, error)
func (*Environment) GetParamByName ¶
func (e *Environment) GetParamByName(name string) (v types.Value, err error)
func (*Environment) GetTx ¶
func (e *Environment) GetTx() *database.Transaction
Click to show internal directories.
Click to hide internal directories.