Click or drag to resize

QueryOptionsReadOnly Method

If a GET request, this will always be true otherwise false.

Namespace:  Couchbase.Query
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public QueryOptions ReadOnly(
	bool readOnly
)

Parameters

readOnly
Type: SystemBoolean
True for get requests.

Return Value

Type: QueryOptions
A reference to the current QueryOptions for method chaining.
Remarks
Any value set here will be overridden by the type of request sent.
See Also