Class QueryBuilder
A factory class for generating the initial portion of a query
Inheritance
System.Object
QueryBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public static class QueryBuilder
Methods
| Improve this Doc View SourceSelect(ISelectResult[])
Selects the given property path from the query under construction
Declaration
public static ISelect Select(params ISelectResult[] results)
Parameters
Type | Name | Description |
---|---|---|
ISelectResult[] | results | The results to select |
Returns
Type | Description |
---|---|
ISelect | The initial SELECT portion of the query |
SelectDistinct(ISelectResult[])
Selects only the distinct results of the query
Declaration
public static ISelect SelectDistinct(params ISelectResult[] results)
Parameters
Type | Name | Description |
---|---|---|
ISelectResult[] | results | The results to select |
Returns
Type | Description |
---|---|
ISelect | The initial SELECT portion of the query |