exists method
Check if given id
exists in the table
.
Implementation
@override
Future<bool> exists(String table, String primaryColumn, int id) async {
final response =
await _from(table).select().eq(primaryColumn, id).limit(1).execute();
return response.count == 1;
}