DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/powersync-db-collection/type-aliases/EnhancedPowerSyncCollectionConfig.md
EnhancedPowerSyncCollectionConfig
ts
type EnhancedPowerSyncCollectionConfig<TTable, OutputType, TSchema> = CollectionConfig<OutputType, string, TSchema, PowerSyncCollectionUtils<TTable>> & object;Defined in: definitions.ts:303
A CollectionConfig which includes utilities for PowerSync.
Type Declaration#
id?#
ts
optional id: string;schema?#
ts
optional schema: TSchema;utils#
ts
utils: PowerSyncCollectionUtils<TTable>;Type Parameters#
TTable#
TTable extends Table
OutputType#
OutputType extends Record<string, unknown> = Record<string, unknown>
TSchema#
TSchema extends StandardSchemaV1 = never