Statements sql serialization simplified.
This commit is contained in:
parent
d9bbec3795
commit
439c9f1ef9
26 changed files with 274 additions and 284 deletions
|
|
@ -13,8 +13,8 @@ func Literal(value interface{}) *literalExpression {
|
|||
return &exp
|
||||
}
|
||||
|
||||
func (l literalExpression) serialize(out *queryData) error {
|
||||
out.InsertArgument(l.value)
|
||||
func (l literalExpression) serialize(statement statementType, out *queryData) error {
|
||||
out.insertArgument(l.value)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue