Skip to content

Commit

Permalink
run v fmt -w vlib/db/sqlite/sqlite.c.v
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Feb 3, 2024
1 parent 567310e commit a6662d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/db/sqlite/sqlite.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pub fn (db &DB) get_queryset(query string) ![]QuerySet {
// https://www.sqlite.org/syntax/join-clause.html
mut select_header := regex_opt(r'select((\s)+(all)|(distinct)(\s)+)|(\s)+')!
mut from := regex_opt(r'(\s)+from(\s)+')!

// or do not include 'FROM', just like 'SELECT 1 + 1'
if query_lower.count('select') == 1 && query_lower.contains('from') {
// The execution of this function indicates that the passed
Expand Down

0 comments on commit a6662d3

Please sign in to comment.