Documentation ¶
Index ¶
- type Environment
- func (e *Environment) Get(path object.Path) (v types.Value, ok bool)
- func (e *Environment) GetDB() *database.Database
- func (e *Environment) GetOuter() *Environment
- func (e *Environment) GetParamByIndex(pos int) (types.Value, error)
- func (e *Environment) GetParamByName(name string) (v types.Value, err error)
- func (e *Environment) GetRow() (database.Row, bool)
- func (e *Environment) GetTx() *database.Transaction
- func (e *Environment) Set(path object.Path, v types.Value)
- func (e *Environment) SetOuter(env *Environment)
- func (e *Environment) SetParams(params []Param)
- func (e *Environment) SetRow(r database.Row)
- func (e *Environment) SetRowFromObject(o types.Object)
- type Param
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { Params []Param Vars *object.FieldBuffer Row database.Row DB *database.Database Tx *database.Transaction Outer *Environment // contains filtered or unexported fields }
Environment contains information about the context in which the expression is evaluated.
func (*Environment) GetDB ¶
func (e *Environment) GetDB() *database.Database
func (*Environment) GetOuter ¶
func (e *Environment) GetOuter() *Environment
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
func (*Environment) SetOuter ¶
func (e *Environment) SetOuter(env *Environment)
func (*Environment) SetParams ¶
func (e *Environment) SetParams(params []Param)
func (*Environment) SetRow ¶
func (e *Environment) SetRow(r database.Row)
func (*Environment) SetRowFromObject ¶
func (e *Environment) SetRowFromObject(o types.Object)
Click to show internal directories.
Click to hide internal directories.