Hierarchy

  • Dexie
    • FsaDb

Constructors

Properties

Collection: { prototype: Collection<any, IndexableType> }

Type declaration

  • prototype: Collection<any, IndexableType>
Table: { prototype: Table<any, IndexableType> }

Type declaration

  • prototype: Table<any, IndexableType>
Transaction: { prototype: Transaction }

Type declaration

  • prototype: Transaction
Version: { prototype: Version }

Type declaration

  • prototype: Version
WhereClause: { prototype: WhereClause<any, IndexableType> }

Type declaration

  • prototype: WhereClause<any, IndexableType>
_allTables: { [name: string]: Table<any, IndexableType> }

Type declaration

  • [name: string]: Table<any, IndexableType>
_createTransaction: ((this: Dexie, mode: IDBTransactionMode, storeNames: ArrayLike<string>, dbschema: DbSchema, parentTransaction?: null | Transaction) => Transaction)

Type declaration

    • (this: Dexie, mode: IDBTransactionMode, storeNames: ArrayLike<string>, dbschema: DbSchema, parentTransaction?: null | Transaction): Transaction
    • Parameters

      • this: Dexie
      • mode: IDBTransactionMode
      • storeNames: ArrayLike<string>
      • dbschema: DbSchema
      • Optional parentTransaction: null | Transaction

      Returns Transaction

_dbSchema: DbSchema
core: DBCore
directories: Table<fsaDirectory, string>
errors: Table<fsaError, number>
excludedDirectories: Table<fsaExcludedDirectory, number>
fileTypes: Table<fsaFileType, number>
files: Table<fsaFile, string>
name: string
on: DbEvents
settings: Table<fsaSetting, number>
state: Table<fsaState, number>
tables: Table<any, IndexableType>[]
userCollections: Table<fsaCollection, string>
verno: number
vip: Dexie
AbortError: DexieErrorConstructor
BulkError: BulkErrorConstructor
ConstraintError: DexieErrorConstructor
DataCloneError: DexieErrorConstructor
DataError: DexieErrorConstructor
DatabaseClosedError: DexieErrorConstructor
DexieError: DexieErrorConstructor
Events: ((ctx?: any) => DexieEventSet)

Type declaration

    • (ctx?: any): DexieEventSet
    • Parameters

      • Optional ctx: any

      Returns DexieEventSet

ForeignAwaitError: DexieErrorConstructor
InternalError: DexieErrorConstructor
InvalidAccessError: DexieErrorConstructor
InvalidArgumentError: DexieErrorConstructor
InvalidStateError: DexieErrorConstructor
InvalidTableError: DexieErrorConstructor
MissingAPIError: DexieErrorConstructor
ModifyError: ModifyErrorConstructor
NoSuchDatabaseError: DexieErrorConstructor
NotFoundError: DexieErrorConstructor
OpenFailedError: DexieErrorConstructor
PrematureCommitError: DexieErrorConstructor
Promise: PromiseExtendedConstructor
QuotaExceededError: DexieErrorConstructor
ReadOnlyError: DexieErrorConstructor
SchemaError: DexieErrorConstructor
SubTransactionError: DexieErrorConstructor
TimeoutError: DexieErrorConstructor
TransactionInactiveError: DexieErrorConstructor
UnknownError: DexieErrorConstructor
UnsupportedError: DexieErrorConstructor
UpgradeError: DexieErrorConstructor
VersionChangeError: DexieErrorConstructor
VersionError: DexieErrorConstructor
addons: ((db: Dexie) => void)[]
currentTransaction: Transaction
default: Dexie
dependencies: DexieDOMDependencies
errnames: DexieErrors
maxKey: string | void[][]
minKey: number
on: GlobalDexieEvents
semVer: string
version: number

Methods

  • Returns IDBDatabase

  • Returns void

  • Returns PromiseExtended<void>

  • Returns boolean

  • Parameters

    • Optional options: ExportOptions

    Returns Promise<Blob>

  • Returns boolean

  • Returns boolean

  • Parameters

    • blob: Blob
    • Optional options: ImportOptions

    Returns Promise<void>

  • Returns boolean

  • Returns PromiseExtended<Dexie>

  • Type Parameters

    • T = any

    • TKey = IndexableType

    Parameters

    • tableName: string

    Returns Table<T, TKey>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: Table<any, IndexableType>
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: string
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: Table<any, IndexableType>
    • table2: Table<any, IndexableType>
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: string
    • table2: string
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: Table<any, IndexableType>
    • table2: Table<any, IndexableType>
    • table3: Table<any, IndexableType>
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: string
    • table2: string
    • table3: string
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: Table<any, IndexableType>
    • table2: Table<any, IndexableType>
    • table3: Table<any, IndexableType>
    • table4: Table<any, IndexableType>
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: string
    • table2: string
    • table3: string
    • table4: string
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: Table<any, IndexableType>
    • table2: Table<any, IndexableType>
    • table3: Table<any, IndexableType>
    • table4: Table<any, IndexableType>
    • table5: Table<any, IndexableType>
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • table: string
    • table2: string
    • table3: string
    • table4: string
    • table5: string
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • tables: Table<any, IndexableType>[]
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Type Parameters

    • U

    Parameters

    • mode: TransactionMode
    • tables: string[]
    • scope: ((trans: Transaction) => U | PromiseLike<U>)
        • (trans: Transaction): U | PromiseLike<U>
        • Parameters

          • trans: Transaction

          Returns U | PromiseLike<U>

    Returns PromiseExtended<U>

  • Parameters

    • __namedParameters: Middleware<{ stack: "dbcore" }>

    Returns FsaDb

  • Parameters

    • __namedParameters: { name: string; stack: "dbcore" }
      • name: string
      • stack: "dbcore"

    Returns FsaDb

  • Parameters

    • middleware: Middleware<DBCore>

    Returns FsaDb

  • Parameters

    • versionNumber: number

    Returns Version

  • Parameters

    • fn: Function

    Returns void

  • Type Parameters

    • T

    Parameters

    • obj: T

    Returns T

  • Parameters

    • obj: Object
    • keyPath: string

    Returns void

  • Parameters

    • dbName: string

    Returns Promise<void>

  • Parameters

    • dbName: string

    Returns Promise<boolean>

  • Parameters

    • target: ObservabilitySet
    • newSet: ObservabilitySet

    Returns ObservabilitySet

  • Parameters

    • obj: Object
    • keyPath: string

    Returns any

  • Returns Promise<string[]>

  • Type Parameters

    • R

    Parameters

    • thenShortcut: ThenShortcut<string[], R>

    Returns Promise<R>

  • Type Parameters

    • U

    Parameters

    • fn: (() => U)
        • (): U
        • Returns U

    Returns U

  • Parameters

    • blob: Blob
    • Optional options: StaticImportOptions

    Returns Promise<Dexie>

  • Type Parameters

    • T

    Parameters

    • fn: (() => T | Promise<T>)
        • (): T | Promise<T>
        • Returns T | Promise<T>

    Returns Observable<T>

  • Type Parameters

    • F

    Parameters

    • origFunc: F
    • overridedFactory: ((fn: any) => any)
        • (fn: any): any
        • Parameters

          • fn: any

          Returns any

    Returns F

  • Parameters

    • obj: Object
    • keyPath: string
    • value: any

    Returns void

  • Type Parameters

    • T

    Parameters

    • obj: T

    Returns T

  • Type Parameters

    • U

    Parameters

    • scopeFunction: (() => U)
        • (): U
        • Returns U

    Returns U

  • Type Parameters

    • T

    Parameters

    • promise: T | PromiseLike<T>
    • Optional timeoutMilliseconds: number

    Returns Promise<T>

Generated using TypeDoc