get method

  1. @override
Future<Row> get(
  1. String sql, [
  2. List<Object?> parameters = const []
])
override

Execute a read-only (SELECT) query and return a single result.

Implementation

@override
Future<Row> get(String sql, [List<Object?> parameters = const []]) async {
  return db.select(sql, parameters).first;
}