mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-05 17:24:21 +01:00
Implement std::cmp::PartialOrd for OwnedValue
This commit is contained in:
@@ -108,19 +108,6 @@ do_execsql_test where-clause-lte {
|
||||
select count(1) from users where id <= 2000;
|
||||
} {2000}
|
||||
|
||||
do_execsql_test where-and {
|
||||
select * from products where price > 50 and name != 'hat';
|
||||
} {2|cap|82.0
|
||||
5|sweatshirt|74.0
|
||||
6|shorts|70.0
|
||||
7|jeans|78.0
|
||||
8|sneakers|82.0
|
||||
11|accessories|81.0}
|
||||
|
||||
do_execsql_test where-multiple-and {
|
||||
select * from products where price > 50 and name != 'boots' and price <= 70;
|
||||
} {6|shorts|70.0}
|
||||
|
||||
do_execsql_test where-clause-unary-true {
|
||||
select count(1) from users where 1;
|
||||
} {10000}
|
||||
@@ -253,3 +240,16 @@ Jamie|88
|
||||
Jamie|41
|
||||
Jamie|73
|
||||
}
|
||||
|
||||
do_execsql_test where-float-int {
|
||||
select * from products where price > 50 and name != 'hat';
|
||||
} {2|cap|82.0
|
||||
5|sweatshirt|74.0
|
||||
6|shorts|70.0
|
||||
7|jeans|78.0
|
||||
8|sneakers|82.0
|
||||
11|accessories|81.0}
|
||||
|
||||
do_execsql_test where-multiple-and {
|
||||
select * from products where price > 50 and name != 'sweatshirt' and price < 75;
|
||||
} {6|shorts|70.0}
|
||||
Reference in New Issue
Block a user