good morning!!!!

Skip to content
Snippets Groups Projects
Commit 1e7ae816 authored by Carlos Nieto's avatar Carlos Nieto
Browse files

Merge pull request #48 from worg/master

sqlite OFFSET allways needs a limit
parents f837d44a e6acadc0
Branches
Tags
No related merge requests found
......@@ -74,6 +74,9 @@ const (
{{end}}
{{if .Offset}}
{{if not .Limit}}
LIMIT -1
{{end}}
OFFSET {{.Offset}}
{{end}}
`
......@@ -100,6 +103,9 @@ const (
{{end}}
{{if .Offset}}
{{if not .Limit}}
LIMIT -1
{{end}}
OFFSET {{.Offset}}
{{end}}
`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment