SqliteMapper class

This class maps the database interface functions to a SQLite database

Inheritance

Constructors

SqliteMapper(String dbPath)

Properties

conn ↔ Database
getter/setter pair
controller StorageController?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Node node) Future<void>
Add a non existing node to the storage backend.
override
addValue(String path, NodeValue value) Future<void>
checkPath(String path) → void
inherited
close() Future<void>
closes the database backend and flushes all data.
override
delete(String path, {bool deleteTombStone = false}) Future<Node>
Remove the named node.
override
deleteValue(String path, String key) Future<NodeValue>
flush() Future<void>
Flushes all data possible to the disk.
override
get(String path) Future<Node>
Get a node by node name from the storage backend.
override
getSanity(String? path) → void
inherited
getValue(String path, String key) Future<NodeValue?>
Fetch a value from a node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rename(String oldPath, String newPathOrName) Future<void>
Renames or moves an existing node.
override
Search all nodes matching the provided search criteria.
override
setController(StorageController controller) → void
Sets the controller to be used when creating skeletons.
override
toString() String
A string representation of this object.
inherited
update(Node node) Future<void>
Update an already existing node with the current values.
override
updateValue(String path, NodeValue value) Future<void>
zap() Future<void>
Zaps the current database and discards all values.
override

Operators

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

Constants

maxFieldSize → const int