Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Sep 28, 2024
1 parent 7c77422 commit ca4577b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/db/sqlite/sqlite_comptime_field_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn records_by_field[T](db sqlite.DB, fieldname string, value string) ![]T {
$for field in T.fields {
if field.name == fieldname {
entries := sql db {
select from Blog where language == value
select from Blog where field.name == value
} or { return err }
return entries
}
Expand Down

0 comments on commit ca4577b

Please sign in to comment.