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/PowerSyncCollectionMeta.md
PowerSyncCollectionMeta
ts
type PowerSyncCollectionMeta<TTable> = object;Defined in: definitions.ts:279
Metadata for the PowerSync Collection.
Type Parameters#
TTable#
TTable extends Table = Table
Properties#
metadataIsTracked#
ts
metadataIsTracked: boolean;Defined in: definitions.ts:297
Whether the PowerSync table tracks metadata.
serializeValue()#
ts
serializeValue: (value) => ExtractedTable<TTable>;Defined in: definitions.ts:292
Serializes a collection value to the SQLite type
Parameters#
value#
any
Returns#
ExtractedTable<TTable>
tableName#
ts
tableName: string;Defined in: definitions.ts:283
The SQLite table representing the collection.
trackedTableName#
ts
trackedTableName: string;Defined in: definitions.ts:287
The internal table used to track diffs for the collection.