Class BooleanFieldQuery
A boolean field query matches documents which have a boolean field which corresponds to the requested boolean value.
Inheritance
BooleanFieldQuery
Assembly: Couchbase.NetClient.dll
Syntax
public class BooleanFieldQuery : SearchQueryBase, ISearchQuery
Constructors
View Source
BooleanFieldQuery(bool)
Declaration
public BooleanFieldQuery(bool fieldMatch)
Parameters
| Type |
Name |
Description |
| bool |
fieldMatch |
|
Methods
View Source
AsReadOnly()
Declaration
public BooleanFieldQuery.ReadOnly AsReadOnly()
Returns
View Source
Deconstruct(out bool, out string)
Declaration
public void Deconstruct(out bool fieldMatch, out string field)
Parameters
| Type |
Name |
Description |
| bool |
fieldMatch |
|
| string |
field |
|
View Source
Export()
Gets a JSON object representing this query instance />
Declaration
[RequiresUnreferencedCode("Couchbase FTS might require types that cannot be statically analyzed. Make sure all required types are preserved.")]
[RequiresDynamicCode("Couchbase FTS might require types that cannot be statically analyzed and might need runtime code generation. Do not use for native AOT applications.")]
public override JObject Export()
Returns
Overrides
View Source
Field(string)
Declaration
public BooleanFieldQuery Field(string field)
Parameters
| Type |
Name |
Description |
| string |
field |
The field.
|
Returns
Implements
See Also