Class SelectResult
A class for generating instances of ISelectResult. This will be expanded on in the near future.
Inheritance
System.Object
SelectResult
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public static class SelectResult : object
Methods
| Improve this Doc View SourceAll()
Creates a select result instance that will return all of the data in the retrieved document
Declaration
public static ISelectResultFrom All()
Returns
Type | Description |
---|---|
ISelectResultFrom | The instantiated instance |
Expression(IExpression)
Creates an instance based on the given expression
Declaration
public static ISelectResultAs Expression(IExpression expression)
Parameters
Type | Name | Description |
---|---|---|
IExpression | expression | The expression describing what to select from the query (e.g. Property(String)) |
Returns
Type | Description |
---|---|
ISelectResultAs | The instantiated instance |
Property(String)
Creates an instanced based on a given property path
Declaration
public static ISelectResultAs Property(string property)
Parameters
Type | Name | Description |
---|---|---|
System.String | property | The property path to select |
Returns
Type | Description |
---|---|
ISelectResultAs | The instantiated instance |
Remarks
Equivalent to SelectResult.Expression(Expression.Property(property))