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

fix pg orm example

This commit is contained in:
Alexander Medvednikov 2019-12-10 00:06:24 +03:00
parent 51051cdf92
commit cd54b2878e

View File

@ -25,8 +25,8 @@ fn main() {
// V syntax can be used to build queries
println('----------------------------------------------------------------')
country := 'Bulgaria'
bg_customers := db.select from Customer where country == country && id != 2
bg_country := 'Bulgaria'
bg_customers := db.select from Customer where country == bg_country && id != 2
for customer in bg_customers {
println('$customer.country | $customer.id - $customer.name')
}