Interface ILimitRouter
An interface representing a query that can accept LIMIT as its next clause
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public interface ILimitRouter
Methods
| Improve this Doc View SourceLimit(IExpression)
Limits a query to the given count (ulong, parameter, etc)
Declaration
ILimit Limit(IExpression limit)
Parameters
| Type | Name | Description |
|---|---|---|
| IExpression | limit | The amount to limit the query to |
Returns
| Type | Description |
|---|---|
| ILimit | The query for further processing |
Limit(IExpression, IExpression)
Limits a query to the given count and also offsets it by a given count (ulong, parameter, etc)
Declaration
ILimit Limit(IExpression limit, IExpression offset)
Parameters
| Type | Name | Description |
|---|---|---|
| IExpression | limit | The amount to limit the query to |
| IExpression | offset | The amount to offset the query by |
Returns
| Type | Description |
|---|---|
| ILimit | The query for further processing |