InsertOptions
class InsertOptions (View source)
Methods
timeout(int $arg)
Sets the operation timeout in milliseconds.
expiry(int $arg)
Sets the expiry time for the document.
durabilityLevel(int $arg)
Sets the durability level to enforce when writing the document.
encoder(callable $arg)
Associate custom transcoder with the request.
Details
InsertOptions
timeout(int $arg)
Sets the operation timeout in milliseconds.
InsertOptions
expiry(int $arg)
Sets the expiry time for the document.
InsertOptions
durabilityLevel(int $arg)
Sets the durability level to enforce when writing the document.
InsertOptions
encoder(callable $arg)
Associate custom transcoder with the request.