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:
tolfino 2020-09-29 15:29:35 -07:00
parent 29119d71d9
commit bc104d7dbb
4 changed files with 15 additions and 0 deletions

View file

@ -85,5 +85,8 @@ var TimestampzExp = jet.TimestampzExp
// 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