Current date/time functions.
This commit is contained in:
parent
37a55e6ee3
commit
7c98fb508c
8 changed files with 177 additions and 26 deletions
|
|
@ -174,13 +174,13 @@ func (s *selectStatementImpl) serializeImpl(out *queryData) error {
|
|||
if s.limit >= 0 {
|
||||
out.nextLine()
|
||||
out.writeString("LIMIT")
|
||||
out.insertArgument(s.limit)
|
||||
out.insertPreparedArgument(s.limit)
|
||||
}
|
||||
|
||||
if s.offset >= 0 {
|
||||
out.nextLine()
|
||||
out.writeString("OFFSET")
|
||||
out.insertArgument(s.offset)
|
||||
out.insertPreparedArgument(s.offset)
|
||||
}
|
||||
|
||||
if s.forUpdate {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue