You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query "select * from user where user_id=1" works
+----------+-----------+
| user_id | name |
+----------+-----------+
| 1 | binlijin |
+----------+-----------+
while
query "select * from user where user_id>0"
ERROR: java.sql.SQLException: org.apache.wasp.jdbc.JdbcException: Operate a not supported sql: "Don't get a Index!" [90170-1]
The text was updated successfully, but these errors were encountered:
nope.
wasp support range condition. but only in index query.
it means we must create a index. such as (user_name and age)
then we can : query "select * from user where user_name='abc' and age > 20"
say with following query in wasp shell
query "select * from user where user_id=1" works
+----------+-----------+
| user_id | name |
+----------+-----------+
| 1 | binlijin |
+----------+-----------+
while
query "select * from user where user_id>0"
ERROR: java.sql.SQLException: org.apache.wasp.jdbc.JdbcException: Operate a not supported sql: "Don't get a Index!" [90170-1]
The text was updated successfully, but these errors were encountered: