mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871)
This commit is contained in:
parent
9addede0ea
commit
8452644ec3
67 changed files with 479 additions and 354 deletions
|
@ -66,7 +66,7 @@ pub fn (mut app App) delete() vweb.Result {
|
|||
|
||||
sql db {
|
||||
drop table User
|
||||
}
|
||||
} or { panic(err) }
|
||||
|
||||
return app.text('Successfully deleted table')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue