We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f3538e commit f206a29Copy full SHA for f206a29
usage/use-case-examples/prioritized-sync.mdx
@@ -21,9 +21,9 @@ Below are the sync rules that will enable this:
21
22
```yaml
23
bucket_definitions:
24
- # sync high priority tables first, in this case the user's lists
+ # always sync high priority tables (first), in this case the user's lists
25
high_priority:
26
- parameters: select id as list_id from lists where owner_id = token_parameters.user_id and (request.parameters() ->> 'high_priority' = 'true')
+ parameters: select id as list_id from lists where owner_id = token_parameters.user_id
27
data:
28
- select * from lists where id = bucket.list_id
29
# sync any remaining tables, in this case todo items
0 commit comments