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 Current")
Future<List<Current>> getCurrent();
log
Unhandled Exception: Bad state: Unsupported query "SELECT * from Current" for List return type.
It should be SELECT, since DELETE, UPDATE, INSERT returns `int` type.
The text was updated successfully, but these errors were encountered:
Hello @xiaolei123
This problem occurs because Current key is a reserved word by SqlParser. Here is a similar discussion #755 List of reserved keys you can find here
myCode
log
The text was updated successfully, but these errors were encountered: