MysqlTable class abstract

Abstract base class for MySQL table operations.

Constructors

MysqlTable()

Properties

db DatabaseDriver
no setter
hashCode int
The hash code for this object.
no setterinherited
qName QField
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table MTable
no setter
tableName String
no setter

Methods

countBy(Where where) Future<int>
deleteBy(Where where) Future<SqlDatabaseResult>
deleteById(int id) Future<SqlDatabaseResult>
findAll({String orderBy = 'id', bool orderReverse = true, Map<String, dynamic> filters = const {}, int? pageSize, int? offset}) Future<({int count, SqlDatabaseResult rows})>
All abstract methods
findById(int id) Future<SqlDatabaseResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateFilters(Sqler query, Map<String, dynamic> filter) Sqler

Operators

operator ==(Object other) bool
The equality operator.
inherited