find method

Future<List<MessageLogEntry>> find(
  1. DatabaseAccessor databaseAccessor, {
  2. WhereExpressionBuilder<MessageLogEntryTable>? where,
  3. int? limit,
  4. int? offset,
  5. OrderByBuilder<MessageLogEntryTable>? orderBy,
  6. bool orderDescending = false,
  7. OrderByListBuilder<MessageLogEntryTable>? orderByList,
  8. Transaction? transaction,
})

Implementation

Future<List<MessageLogEntry>> find(
  _i1.DatabaseAccessor databaseAccessor, {
  _i1.WhereExpressionBuilder<MessageLogEntryTable>? where,
  int? limit,
  int? offset,
  _i1.OrderByBuilder<MessageLogEntryTable>? orderBy,
  bool orderDescending = false,
  _i1.OrderByListBuilder<MessageLogEntryTable>? orderByList,
  _i1.Transaction? transaction,
}) async {
  return databaseAccessor.db.find<MessageLogEntry>(
    where: where?.call(MessageLogEntry.t),
    orderBy: orderBy?.call(MessageLogEntry.t),
    orderByList: orderByList?.call(MessageLogEntry.t),
    orderDescending: orderDescending,
    limit: limit,
    offset: offset,
    transaction: transaction ?? databaseAccessor.transaction,
  );
}