SqliteDatabase class

Inheritance
Implementers

Constructors

SqliteDatabase(String _path)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addIdColumn(Table t) → void
inherited
addSchemaUpdate(SchemaUpdate su) → void
inherited
boolColumn(String name, {bool allowNull = false, bool unique = false, Object? defaultValue}) BoolColumn
override
createIdColumn(String name) DbColumn
override
currentVersion(DbContext dbc) Future<int>
inherited
dateColumn(String name, {bool allowNull = false, bool unique = false, Object? defaultValue}) DateColumn
override
dateTimeColumn(String name, {bool allowNull = false, bool unique = false, Object? defaultValue}) DateTimeColumn
override
DeleteFrom(Table tbl) DeleteStatement
inherited
doubleColumn(String name, {bool allowNull = false, bool unique = false, Object? defaultValue}) DoubleColumn
override
InsertInto(Table tbl) InsertStatement
inherited
intColumn(String name, {bool allowNull = false, bool unique = false, Object? defaultValue}) IntColumn
override
lastId(DbContext dbc) Future<int>
must be used before closing the connection
override
newContext() Future<DbContext>
override
newIndex(String name, Table tbl, List<DbColumn> cols, {bool unique = false}) Index
inherited
newTable(String name, List<DbColumn> fields) Table
implemented by the db, pass columns except primary and foreign keys
override
newView(String name, AbsSelect select) View
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Select() SelectStatement
inherited
SelectDistinct() SelectStatement
inherited
SelectListItems(Table tbl, Expr nameField) SelectStatement
inherited
stringColumn(String name, int maxLength, {bool allowNull = false, bool unique = false, Object? defaultValue}) StringColumn
override
textColumn(String name, {bool allowNull = false, bool unique = false, Object? defaultValue}) TextColumn
override
toString() String
A string representation of this object.
inherited
Update(Table tbl) UpdateStatement
inherited
updateSchemaIfNeeded(DbContext dbc) Future<void>
inherited

Operators

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