mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
orm: fix LIMIT var
as well
This commit is contained in:
parent
421b6d4a80
commit
7004f74b71
@ -145,6 +145,7 @@ fn (mut g Gen) sql_select_expr(node ast.SqlExpr) {
|
||||
}
|
||||
if node.has_limit {
|
||||
g.write(' LIMIT ')
|
||||
g.sql_side = .right
|
||||
g.expr_to_sql(node.limit_expr)
|
||||
}
|
||||
if node.has_offset {
|
||||
|
Loading…
Reference in New Issue
Block a user