feat: expose CustomExpression+Token in mysql/postgres/sqlite

This commit is contained in:
Mathieu Kooiman 2024-07-13 17:10:26 +02:00
parent 3ec0e2cabd
commit 6cabfcdc1a
3 changed files with 18 additions and 0 deletions

View file

@ -111,6 +111,12 @@ var (
TstzRangeExp = jet.TstzRangeExp
)
// CustomExpression is used to define custom expressions.
var CustomExpression = jet.CustomExpression
// Token is used to define custom token in a custom expression.
type Token = jet.Token
// RawArgs is type used to pass optional arguments to Raw method
type RawArgs = map[string]interface{}