Click or drag to resize

QueryOptionsParameter Method (String, Object)

Adds a named parameter to the parameters to the statement or prepared statement.

Namespace:  Couchbase.Query
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public QueryOptions Parameter(
	string name,
	Object value
)

Parameters

name
Type: SystemString
The name of the parameter.
value
Type: SystemObject
The value of the parameter.

Return Value

Type: QueryOptions
A reference to the current QueryOptions for method chaining.
Remarks
Optional.
See Also