mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
support TRUE and FALSE in predicates
This commit is contained in:
parent
138b3a00e8
commit
5e9e2dffe9
7 changed files with 115 additions and 23 deletions
|
@ -39,6 +39,14 @@ do_execsql_test select-count {
|
|||
SELECT count(*) FROM users;
|
||||
} {10000}
|
||||
|
||||
do_execsql_test select-count-constant-true {
|
||||
SELECT count(*) FROM users WHERE true;
|
||||
} {10000}
|
||||
|
||||
do_execsql_test select-count-constant-false {
|
||||
SELECT count(*) FROM users WHERE false;
|
||||
} {0}
|
||||
|
||||
do_execsql_test select-max {
|
||||
SELECT max(age) FROM users;
|
||||
} {100}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue