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
I want to query id from a table, so ,i add this to the dao file @Query('SELECT id FROM Taskitem') Future<List<int>> findAllTaskitemIdList();
but this build error with output
"[SEVERE] floor_generator:floor_generator on lib/entity/database.dart:
Error running FloorGenerator
NoSuchMethodError: The getter 'name' was called on null."
So, can floor support this? how can i do ?
thanks
The text was updated successfully, but these errors were encountered:
This is pretty much the same issue as #374 and is that way because primitive Values as returns from dao methods are not supported yet. They are already implemented though (#361) and just need a review and some testing. If you check out the branch and reference floor through a path reference in your pubspec then you can try it out right now. Alternatively you can look at the linked issues (e.g. #200) to find workarounds
I want to query id from a table, so ,i add this to the dao file
@Query('SELECT id FROM Taskitem') Future<List<int>> findAllTaskitemIdList();
but this build error with output
"[SEVERE] floor_generator:floor_generator on lib/entity/database.dart:
Error running FloorGenerator
NoSuchMethodError: The getter 'name' was called on null."
So, can floor support this? how can i do ?
thanks
The text was updated successfully, but these errors were encountered: