select abstract method

Future<DbResult> select(
  1. String table, {
  2. Map<String, dynamic>? where,
  3. int? limit,
  4. int? offset,
})

Retrieves data from the specified table.

  • where: Optional filter conditions (e.g., {'id': 1}).
  • limit / offset: SQL-side pagination.

For sorting or richer filters use the fluent builder: db.query(table)....

Implementation

Future<DbResult> select(
  String table, {
  Map<String, dynamic>? where,
  int? limit,
  int? offset,
});