mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parent
7fd9b62b34
commit
b25c9e8bbf
@ -26,6 +26,9 @@ fn (mut app App) service_add_user(username string, password string) ?User {
|
||||
|
||||
sql db {
|
||||
insert user_model into User
|
||||
} or {
|
||||
eprintln(err)
|
||||
return err
|
||||
}
|
||||
|
||||
result := sql db {
|
||||
|
Loading…
Reference in New Issue
Block a user