This article covers example mappings from Legacy Query APIs to DQL for basic CRUD operations as well as syncing data with the SDK.
string
literals within single quotes (''
); for example 'blue'
.""
); for example "blue"
, may prevent document matching. Currently, Ditto does not throw a warning for this issue.PN_INCREMENT
keyword followed by the
value you want to increment the value by.
To decrement a counter, use a negative value.
REGISTER
is a data type in Ditto that stores a single scalar value and uses last-write-wins merge strategy for handling conflicts
Key characteristics of REGISTER: