Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions

An options object for initializing a datastore.

Hierarchy

  • IOptions

Index

Properties

Optional adapter

An optional handler for broadcasting transactions to peers.

id

id: number

The unique id of the datastore.

Optional restoreState

restoreState: undefined | string

Initialize the state to a previously serialized one.

schemas

schemas: ReadonlyArray<Schema>

The table schemas of the datastore.

Optional transactionIdFactory

transactionIdFactory: TransactionIdFactory

An optional transaction id factory to override the default.

Generated using TypeDoc