fix pg orm example

pull/3029/head
Alexander Medvednikov 2019-12-10 00:06:24 +03:00
parent 51051cdf92
commit cd54b2878e
1 changed files with 2 additions and 2 deletions

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')
}