Documentation ¶
Index ¶
- Variables
- func Add(name string, entry *functions.Entry)
- func AddAndGet(name string, entry *functions.Entry) string
- func Get(name string) (*functions.Entry, bool)
- func Has(name string) bool
- func RegisterType(contextName string, rType reflect.Type)
- type ContextMetadata
- type Namespace
- type StandaloneFn
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SetMarkerKey = AddAndGet("Has", functions.NewEntry( nil, NewNamespace(), )) ParamsKey = AddAndGet("Unsafe", functions.NewEntry( nil, NewNamespace(), )) KeySQL = "sql" Pagination = AddAndGet("$PAGINATION", functions.NewEntry( nil, NewNamespace(), )) Criteria = AddAndGet("$CRITERIA", functions.NewEntry( nil, NewNamespace(), )) WhereCriteria = AddAndGet("$WHERE_CRITERIA", functions.NewEntry( nil, NewNamespace(), )) ColumnsIn = AddAndGet("$COLUMN_IN", functions.NewEntry( nil, NewNamespace(), )) AndColumnInPosition = AddAndGet("$AND_COLUMN_IN", functions.NewEntry( nil, NewNamespace(), )) SelectorCriteria = AddAndGet("$SELECTOR_CRITERIA", functions.NewEntry( nil, NewNamespace(), )) WhereSelectorCriteria = AddAndGet("$WHERE_SELECTOR_CRITERIA", functions.NewEntry( nil, NewNamespace(), )) AndSelectorCriteria = AddAndGet("$AND_SELECTOR_CRITERIA", functions.NewEntry( nil, NewNamespace(), )) AndCriteria = AddAndGet("$AND_CRITERIA", functions.NewEntry( nil, NewNamespace(), )) OrCriteria = AddAndGet("$OR_CRITERIA", functions.NewEntry( nil, NewNamespace(), )) Rec = AddAndGet("$Rec", functions.NewEntry( nil, NewNamespace(), )) WherePrefix = "WHERE_" AndPrefix = "AND_" OrPrefix = "OR_" )
Functions ¶
func RegisterType ¶ added in v0.8.0
Types ¶
type ContextMetadata ¶ added in v0.8.0
func NewContextMetadata ¶ added in v0.8.0
func NewContextMetadata(name string, metadata interface{}, unexpandRaw bool) *ContextMetadata
type Namespace ¶ added in v0.8.0
type Namespace struct{}
func NewNamespace ¶ added in v0.8.0
func NewNamespace() *Namespace
type StandaloneFn ¶ added in v0.8.0
type StandaloneFn struct{}
Click to show internal directories.
Click to hide internal directories.