TDB class
Constructors
- TDB()
Properties
-
boxStream
→ Stream<
TDBoxStreamEvent> -
no setter
- deletedCount → int
-
Database Deleted Count
no setter
- deletedSize → int
-
Database Deleted Size
no setter
-
getUniqueFieldIdList
→ List<
int> -
Database Unique Field List
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDataRecordCreatedExists → bool
-
Check Data Record
no setter
- isOpened → bool
-
Database Is Opened
no setter
- lastId → int
-
Database Added LastId
no setter
- magic → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setter
- version → int
-
no setter
Methods
-
changePath(
String dbPath) → Future< void> - Change Database Path
-
clearAdapter(
) → void - Added -> All Adapter Clear
-
close(
) → Future< void> - Close Database
-
compact(
) → Future< void> - Manual Compact
-
getBox<
T> () → TDBox< T> -
Get Box
<T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
String dbPath, {DBConfig? config}) → Future< void> - Open Database
-
restart(
{DBConfig? config}) → Future< void> - Restart Database Path
-
setAdapter<
T> (TDAdapter< T> adapter) → void - --- Adapter ---
-
setAdapterNotExists<
T> (TDAdapter< T> adapter) → void -
Set Adapter
<T> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
) → TDB -
readHeader(
String dbPath, {String? requiredType, int? requiredVersion}) → Future< (String, int, String)> - Read Header