1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

generate .str() for all arrays

This commit is contained in:
Alexander Medvednikov
2019-08-10 23:02:48 +02:00
parent f628d6d35d
commit 8c3475b902
9 changed files with 92 additions and 42 deletions

View File

@@ -1,3 +1,7 @@
// Copyright (c) 2019 Alexander Medvednikov. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
module main
import strings
@@ -29,7 +33,7 @@ fn (p mut Parser) select_query(fn_ph int) string {
}
for field in typ.fields {
//println('registering sql field var $field.name')
p.cur_fn.register_var({ field | is_used:true})
p.cur_fn.register_var({ field | is_used:true })
}
q += table_name
// `where` statement