mirror of
https://github.com/vlang/v.git
synced 2025-09-15 23:42:28 +03:00
Revert "db: increase db module level in vlib "
This reverts commit cd6d175180
.
This commit is contained in:
parent
cd6d175180
commit
ec4be80bcc
17 changed files with 37 additions and 34 deletions
|
@ -2036,7 +2036,7 @@ fn (p mut Parser) var_expr(v Var) string {
|
|||
p.next()
|
||||
return p.select_query(fn_ph)
|
||||
}
|
||||
if typ == 'db_dot_pg__DB' && !p.fileis('pg.v') && p.peek() == .name {
|
||||
if typ == 'pg__DB' && !p.fileis('pg.v') && p.peek() == .name {
|
||||
name := p.tokens[p.token_idx].lit
|
||||
if !name.contains('exec') && !name.starts_with('q_') {
|
||||
p.next()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue