selectMin static method

Future<Object?> selectMin(
  1. DatabaseExecutor db,
  2. String tableName,
  3. String column, {
  4. String? where,
  5. List<Object?>? whereArgs,
})

Select Min of column value

Implementation

static Future<Object?> selectMin(DatabaseExecutor db, String tableName, String column,
    {String? where, List<Object?>? whereArgs}) async {
  return await select(db, tableName, ["MIN($column)"], where: where, whereArgs: whereArgs, isUnique: true);
}