executeQuery method
Executes the query and returns the result.
The method should not throw but rather return a QueryResult.failed
Implementation
@override
Future<QueryResult> executeQuery(Query query) {
switch (query.action) {
case QueryAction.create:
return create(query, _client);
case QueryAction.delete:
return delete(query, _client);
case QueryAction.read:
return read(query, _client);
case QueryAction.update:
return update(query, _client);
}
}