Examples: Replication formulas

  1. The default replication formula for a database replicates all documents.
    SELECT @All
  2. This formula replicates only documents containing East in the Region field.
    SELECT Region = "East"
  3. 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")