How do I count all rows in a table and get number of rows as a result using the moor_flutter package?
I have seen moor_flutter official documentation here but I can't find what I'm looking for.
I was hoping it would be like the function below according to the similarities in crud functions when using the moor_flutter package but it is not working either.
Future<int<Person>> countPersons() => count(persons).get();