Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
IsarLocalDatabase Class Reference
Collaboration diagram for IsarLocalDatabase:

Private Member Functions

IsarLocalDatabase _ ()
Future< voidinitialize (List< CollectionSchema< dynamic > > schemas) async
IsarCollection< T > collection ()
Future< Id > put (T object) async
Future< List< Id > > putAll (List< T > objects) async
Future< T?> get (Id id) async
Future< List< T > > getAll () async
Future< booldelete (Id id) async
Future< intdeleteAll (List< Id > ids) async
Future< intcount () async
Future< voidclear () async
Stream< voidwatch ({bool fireImmediately=false})
Future< voidclose () async

Private Attributes

return _instance
Isar get isar

Static Private Attributes

static IsarLocalDatabase _instance
static Isar _isar
static IsarLocalDatabase get instance

Detailed Description

Definition at line 4 of file isar_local_database.dart.

Member Function Documentation

◆ _()

IsarLocalDatabase IsarLocalDatabase::_ ( )
private

◆ clear()

Future< void > IsarLocalDatabase::clear ( )
inlineprivate

Definition at line 25 of file isar_local_database.dart.

Here is the call graph for this function:

◆ close()

Future< void > IsarLocalDatabase::close ( )
inlineprivate

Definition at line 90 of file isar_local_database.dart.

◆ collection()

IsarCollection< T > IsarLocalDatabase::collection ( )
inlineprivate

Definition at line 25 of file isar_local_database.dart.

◆ count()

Future< int > IsarLocalDatabase::count ( )
inlineprivate

Definition at line 25 of file isar_local_database.dart.

◆ delete()

Future< bool > IsarLocalDatabase::delete ( Id id)
inlineprivate

Definition at line 25 of file isar_local_database.dart.

◆ deleteAll()

Future< int > IsarLocalDatabase::deleteAll ( List< Id > ids)
inlineprivate

Definition at line 25 of file isar_local_database.dart.

◆ get()

Future< T?> IsarLocalDatabase::get ( Id id)
inlineprivate

Definition at line 25 of file isar_local_database.dart.

Here is the caller graph for this function:

◆ getAll()

Future< List< T > > IsarLocalDatabase::getAll ( )
inlineprivate

Definition at line 25 of file isar_local_database.dart.

◆ initialize()

Future< void > IsarLocalDatabase::initialize ( List< CollectionSchema< dynamic > > schemas)
inlineprivate

Definition at line 15 of file isar_local_database.dart.

Here is the caller graph for this function:

◆ put()

Future< Id > IsarLocalDatabase::put ( T object)
inlineprivate

Definition at line 25 of file isar_local_database.dart.

◆ putAll()

Future< List< Id > > IsarLocalDatabase::putAll ( List< T > objects)
inlineprivate

Definition at line 25 of file isar_local_database.dart.

◆ watch()

Stream< void > IsarLocalDatabase::watch ( {bool fireImmediately=false} )
inlineprivate

Definition at line 25 of file isar_local_database.dart.

Member Data Documentation

◆ _instance [1/2]

return IsarLocalDatabase::_instance
private

Definition at line 12 of file isar_local_database.dart.

◆ _instance [2/2]

IsarLocalDatabase IsarLocalDatabase::_instance
staticprivate

Definition at line 5 of file isar_local_database.dart.

◆ _isar

Isar IsarLocalDatabase::_isar
staticprivate

Definition at line 6 of file isar_local_database.dart.

◆ instance

IsarLocalDatabase get IsarLocalDatabase::instance
staticprivate
Initial value:

Definition at line 10 of file isar_local_database.dart.

◆ isar

Isar get IsarLocalDatabase::isar
private
Initial value:
{
if (_isar == null) {
throw Exception('Isar not initialized. Call initialize() first.');
}
return _isar!

Definition at line 25 of file isar_local_database.dart.


The documentation for this class was generated from the following file: