mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-21 16:05:17 +01:00
add test for index search with "opposite" operator
This commit is contained in:
@@ -341,6 +341,16 @@ do_execsql_test where-id-index-seek-regression-test {
|
||||
9999
|
||||
10000}
|
||||
|
||||
do_execsql_test where-id-index-seek-regression-test-opposite {
|
||||
select id from users where 9999 < id;
|
||||
select id from users where 10000 <= id;
|
||||
select id from users where 2 > id;
|
||||
select id from users where 1 >= id;
|
||||
} {10000
|
||||
10000
|
||||
1
|
||||
1}
|
||||
|
||||
do_execsql_test where-id-index-seek-regression-test-2 {
|
||||
select count(1) from users where id > 0;
|
||||
} {10000}
|
||||
|
||||
Reference in New Issue
Block a user