type BasePowerSyncCollectionConfig<TTable, TSchema> = Omit<BaseCollectionConfig<ExtractedTable<TTable>, string, TSchema>, "onInsert" | "onUpdate" | "onDelete" | "getKey" | "syncMode"> & object &
| EagerSyncHooks
| OnDemandSyncHooks;Defined in: definitions.ts:203
database: AbstractPowerSyncDatabase;The PowerSync database instance
optional syncBatchSize: number;The maximum number of documents to read from the SQLite table in a single batch during the initial sync between PowerSync and the in-memory TanStack DB collection.
Defaults to DEFAULT_BATCH_SIZE if not specified.
Larger values reduce the number of round trips to the storage engine but increase memory usage per batch.
Smaller values may lower memory usage and allow earlier streaming of initial results, at the cost of more query calls.
table: TTable;The PowerSync schema Table definition
TTable extends Table = Table
TSchema extends StandardSchemaV1 = never