BinaryCollection
class BinaryCollection (View source)
BinaryCollection is an object containing functionality for performing KeyValue operations against the server with binary documents.
Methods
Details
string
name()
Get the name of the binary collection.
MutationResult
append(string $id, string $value, AppendOptions $options = null)
Appends a value to a document.
MutationResult
prepend(string $id, string $value, PrependOptions $options = null)
Prepends a value to a document.
CounterResult
increment(string $id, IncrementOptions $options = null)
Increments a counter document by a value.
CounterResult
decrement(string $id, DecrementOptions $options = null)
Decrements a counter document by a value.