find method
Find a model by its primary key.
Implementation
Future<T?> find(dynamic id) async {
return query.where(primaryKey, '=', id).first();
}
Find a model by its primary key.
Future<T?> find(dynamic id) async {
return query.where(primaryKey, '=', id).first();
}