mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
orm: SqlStmt
This commit is contained in:
@@ -123,6 +123,12 @@ fn test_orm_sqlite() {
|
||||
println(customer)
|
||||
assert customer.is_customer == true
|
||||
assert customer.name == 'Kate'
|
||||
//
|
||||
/*
|
||||
sql db {
|
||||
update User set age = 31 where name = 'Kate'
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user