Add support for custom functions.
This allows expressions like jet.Func("FOO", String("test")) to be
emitted as FOO($1).
This commit is contained in:
parent
29119d71d9
commit
bc104d7dbb
4 changed files with 15 additions and 0 deletions
|
|
@ -74,5 +74,8 @@ var TimestampExp = jet.TimestampExp
|
|||
// For example: Raw("current_database()")
|
||||
var Raw = jet.Raw
|
||||
|
||||
// Func can be used to call an custom or as of yet unsupported function in the database.
|
||||
var Func = jet.Func
|
||||
|
||||
// NewEnumValue creates new named enum value
|
||||
var NewEnumValue = jet.NewEnumValue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue