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

orm: SqlStmt

This commit is contained in:
Alexander Medvednikov
2020-06-24 14:32:14 +02:00
parent 13faf864cb
commit 090e6e936a
7 changed files with 23 additions and 9 deletions

View File

@@ -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'
}
*/
}