Skip to main content

ResolvedTableOptions

Extends​

  • SharedTableOptions

Properties​

PropertyTypeDescriptionInherited from
columnsColumn[]--
direct?booleanAlpha Marks this table as a direct, managed table. Enabling this flag makes PowerSync store data directly as SQLite rows instead of using an intermediate view around a JSON store. The table is still managed by the PowerSync SDK, which is responsible for creating, altering and dropping them. You can query managed tables like JSON-based views, and mutations are consistently tracked as pending uploads. For more information on managed tables, see the documentation. Direct tables can't use a ResolvedTableOptions.viewName. Direct tables are currently in alpha.SharedTableOptions.direct
ignoreEmptyUpdates?boolean-SharedTableOptions.ignoreEmptyUpdates
indexes?Index[]--
insertOnly?boolean-SharedTableOptions.insertOnly
localOnly?boolean-SharedTableOptions.localOnly
namestringThe synced table name, matching sync rules-
trackMetadata?boolean-SharedTableOptions.trackMetadata
trackPrevious?boolean | TrackPreviousOptions-SharedTableOptions.trackPrevious
viewName?string-SharedTableOptions.viewName