Examples: Replication formulas
- The default replication formula for a database replicates all documents.
SELECT @All
- This formula replicates only documents containing East in the Region field.
SELECT Region = "East"
- This formula, which would be useful in a replica of a mail database, does not replicate documents whose From field is Arnold Runion or Mary Chen.
SELECT !(From="Arnold Runion" | From="Mary Chen")