Add support for blob expressions.
This commit is contained in:
parent
26e478dc7e
commit
c94216ab0e
37 changed files with 1296 additions and 81 deletions
|
|
@ -12,6 +12,9 @@ type BoolExpression = jet.BoolExpression
|
|||
// StringExpression interface
|
||||
type StringExpression = jet.StringExpression
|
||||
|
||||
// BlobExpression interface
|
||||
type BlobExpression = jet.BlobExpression
|
||||
|
||||
// IntegerExpression interface
|
||||
type IntegerExpression = jet.IntegerExpression
|
||||
|
||||
|
|
@ -43,6 +46,11 @@ var BoolExp = jet.BoolExp
|
|||
// Does not add sql cast to generated sql builder output.
|
||||
var StringExp = jet.StringExp
|
||||
|
||||
// BlobExp is blob expression wrapper around arbitrary expression.
|
||||
// Allows go compiler to see any expression as blob expression.
|
||||
// Does not add sql cast to generated sql builder output.
|
||||
var BlobExp = jet.BlobExp
|
||||
|
||||
// IntExp is int expression wrapper around arbitrary expression.
|
||||
// Allows go compiler to see any expression as int expression.
|
||||
// Does not add sql cast to generated sql builder output.
|
||||
|
|
@ -100,6 +108,7 @@ var (
|
|||
RawTime = jet.RawTime
|
||||
RawTimestamp = jet.RawTimestamp
|
||||
RawDate = jet.RawDate
|
||||
RawBlob = jet.RawBlob
|
||||
)
|
||||
|
||||
// Func can be used to call custom or unsupported database functions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue