direct

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 view name override.

Direct tables are currently in alpha.