customSelect<T> method
Implementation
@override
Future<List<T>> customSelect<T>(
String query, {
List<Variable<Object>>? variables,
}) async {
try {
final statement = _database.customSelect(
query,
variables: variables ?? [],
);
final result = await statement.get();
return result as List<T>;
} catch (e) {
throw DatabaseBridgeException(error: e);
}
}