ORM class abstract

Implementers

Constructors

ORM(String _schemaName, String _tableName, NewRecordEvent _addRecord)

Properties

count int
no setter
hashCode int
The hash code for this object.
no setterinherited
rowIndex int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sqlConnection SqlConnection
no setter

Methods

cancelAllChanges() → void
cancelChanges() → void
clear() → void
delete() Future<Either<ErrorSqlResult, ExecuteSuccesSqlResult>>
deleteFromProto3Json(Map<String, dynamic> proto3Json) Future<Either<ErrorSqlResult, ExecuteSuccesSqlResult>>
getFilter(List<OrmFilter> filters) String
getSelectSql(OrmSelectableColumns columns, OrmSelectWhere where, GenericOrderBy orderBy, {int? limit, int? offset}) String
insert() Future<Either<ErrorSqlResult, ExecuteSuccesSqlResult>>
insertFromProto3Json(Map<String, dynamic> proto3Json) Future<Either<ErrorSqlResult, ExecuteSuccesSqlResult>>
loadFromDataset(Dataset dataset) → Either<String, int>
locate(List<GenericField> fields) bool
locateField(List<GenericField> xfields) int
newRecord() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordToProto3Json() Map<String, Map<String, Object>>
toJson() String
toString() String
A string representation of this object.
inherited
update() Future<Either<ErrorSqlResult, ExecuteSuccesSqlResult>>
updateFromProto3Json(Map<String, dynamic> proto3Json) Future<Either<ErrorSqlResult, ExecuteSuccesSqlResult>>

Operators

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