id
string
version
integer
state
object
get(id)
id
string
projection
set(id, { version, state })
id
string
version
integer
state
object
null
batchGet([ ...ids ])
ids
array
[ projections ]
(array of projections) - the projections (if they exist)batchWrite({ id: { version, state }, id: { version, state }, ... })
id
string
version
integer
state
object
search(params)
id
object
{ total, data }
total
data
array