Links

Example: Global Data

The simplest sync rules are for "global" data — synced to all users.
  1. 1.
    Save the following in sync-rules.yaml:
bucket_definitions:
global:
data:
# Sync all todos
- SELECT * FROM todos
# Sync all lists except archived ones
- SELECT * FROM lists WHERE archived = false