Interface DbSyncInterface
Methods
cleanUp
- cleanUp(): Promise<void>
Returns Promise<void>
deleteRecord
- deleteRecord(recordId): Promise<void>
Returns Promise<void>
readAllRecords
- readAllRecords(): Promise<RawPdbRecord[]>
Returns Promise<RawPdbRecord[]>
readModifiedRecords
- readModifiedRecords(): Promise<RawPdbRecord[]>
Returns Promise<RawPdbRecord[]>
readRecord
- readRecord(recordId): Promise<null | RawPdbRecord>
Returns Promise<null | RawPdbRecord>
writeRecord
- writeRecord(record): Promise<number>
Returns Promise<number>
Abstract interface for reading / writing for sync.