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:
walking devel 2023-04-04 05:23:06 +00:00 committed by GitHub
parent 9addede0ea
commit 8452644ec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
67 changed files with 479 additions and 354 deletions

View file

@ -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')
}