TDB2 class

Constructors

TDB2()

Properties

deletedCount int
no setter
deletedSize int
no setter
hashCode int
The hash code for this object.
no setterinherited
isOpened bool
Database Opened
no setter
lastIndex int
no setter
magic String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
no setter

Methods

clearAllAdapter() → void
Clear All Registered Adapter
close() Future<void>
Database Close
getAdapter<T>() TDB2Adapter<T>
Get Registered Adapter<T>
getBox<T>() TDB2Box<T>
Get Box<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String dbPath, {TDB2Config? config, bool ifOpenedWillClose = true}) Future<void>
registerAdapterNotExists<T>(TDB2Adapter<T> adapter) Future<void>
Set registerAdapterNotExists<T>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

checkHeaderFromPath(String path, {required String requiredMagic, required int requiredVersion}) Future<bool>
Check Header
getHeaderFromPath(String path) Future<(String, int)>
Get Database Header
getInstance() TDB2