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

vweb: fix serving static files

This commit is contained in:
Alexander Medvednikov
2021-05-16 04:28:11 +03:00
parent 170282b2af
commit ed6ad728d9
6 changed files with 19 additions and 4 deletions

View File

@@ -126,6 +126,12 @@ fn test_orm_sqlite() {
assert users3[0].age == 29
assert users3[1].age == 31
//
missing_user := sql db {
select from User where id == 8777
}
println('missing_user:')
println(missing_user) // zero struct
//
new_user := User{
name: 'New user'
age: 30