Skip to content

Commit f206a29

Browse files
committed
simplify implimentation
1 parent 2f3538e commit f206a29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

usage/use-case-examples/prioritized-sync.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Below are the sync rules that will enable this:
2121

2222
```yaml
2323
bucket_definitions:
24-
# sync high priority tables first, in this case the user's lists
24+
# always sync high priority tables (first), in this case the user's lists
2525
high_priority:
26-
parameters: select id as list_id from lists where owner_id = token_parameters.user_id and (request.parameters() ->> 'high_priority' = 'true')
26+
parameters: select id as list_id from lists where owner_id = token_parameters.user_id
2727
data:
2828
- select * from lists where id = bucket.list_id
2929
# sync any remaining tables, in this case todo items

0 commit comments

Comments
 (0)