oneValue<V> method

Future<V?> oneValue<V>({
  1. required Object column,
  2. Where? where,
  3. Object? groupBy,
  4. Object? having,
  5. Object? window,
  6. Object? orderBy,
  7. SQLExecutor? executor,
})

Implementation

Future<V?> oneValue<V>({required Object column, Where? where, Object? groupBy, Object? having, Object? window, Object? orderBy, SQLExecutor? executor}) async {
  final r = await this.query(columns: [column], where: where, groupBy: groupBy, having: having, window: window, orderBy: orderBy, limit: 1, executor: executor);
  return r.firstValue();
}