mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
small sql fix
This commit is contained in:
parent
8a2714b35a
commit
32754e3b4c
@ -1703,7 +1703,7 @@ fn (p mut Parser) var_expr(v Var) string {
|
||||
p.next()
|
||||
return p.select_query(fn_ph)
|
||||
}
|
||||
if typ == 'pg__DB' && !p.fileis('pg.v') {
|
||||
if typ == 'pg__DB' && !p.fileis('pg.v') && p.peek() == .name {
|
||||
p.next()
|
||||
p.insert_query(fn_ph)
|
||||
return 'void'
|
||||
|
Loading…
Reference in New Issue
Block a user