SqfEntityModelProvider class abstract

Inheritance
  • Object
  • SqfEntityModelBase
  • SqfEntityModelProvider

Constructors

SqfEntityModelProvider({SqfEntityConnection? connection})

Properties

bundledDatabasePath ↔ String?
getter/setter pairinherited
connection ↔ SqfEntityConnection?
getter/setter pair
databaseName ↔ String?
getter/setter pairinherited
databasePath ↔ String?
getter/setter pairinherited
databaseTables ↔ List<SqfEntityTableBase>?
getter/setter pairinherited
dbVersion ↔ int?
getter/setter pairinherited
formTables ↔ List<SqfEntityTableBase>?
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
ignoreForFile ↔ List<String>?
getter/setter pairinherited
instanceName ↔ String?
getter/setter pairinherited
logFunction ↔ LogFunction?
getter/setter pairinherited
modelName ↔ String?
getter/setter pairinherited
password ↔ String?
getter/setter pairinherited
preSaveAction ↔ PreSaveAction?
Action Execute pre save
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sequences ↔ List<SqfEntitySequenceBase>?
getter/setter pairinherited

Methods

batchCommit({bool? exclusive, bool? noResult, bool? continueOnError}) → Future<List?>
Commits all of the operations in this batch as a single atomic unit
batchRollback() → void
Cancels all of the operations in this batch
batchStart() → Future<bool>
Start a transaction batch to commit all of the operations in a batch as a single atomic unit
closeDatabase() → Future<void>
execDataTable(String sql, [List? arguments]) → Future<List<Map<String, Object?>>>
Run Select Command and return List<Map<String,dynamic>> such as datatable
execScalar(String sql, [List? arguments]) → Future
Run Select Command and return first col of first row
execSQL(String sql, [List? arguments]) → Future<BoolResult>
Run sql command with arguments (arguments is optional)
execSQLList(List<String> sql) → Future<BoolCommitResult>
Run sql command List
getDatabasePath() → Future<String?>
Get SQLite Database path
init() → void
inherited
initializeDB() → Future<bool>
initializeDB is performed automatically in this version. You no longer need to call this method
initializeForeignKeys() → Future<bool>
CHECK FOREIGN KEYS
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(dynamic T) → Future<String>
Send any Object or Object List such as a product or productList to json String
toString() → String
A string representation of this object.
inherited
writeDatabase(ByteData data) → Future<void>
Write database on existing db (path=your new database path, byte= your new database's ByteData)

Operators

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