exists method

Future<bool> exists()

Checks if any rows match the current query.

Implementation

Future<bool> exists() async {
  return (await count()) > 0;
}