.NET - Collection.Query.Limit()

Limit the number of results returned by a query.

using Nitric.Sdk;
using Nitric.Sdk.Resources;
var profiles = Nitric.Collection<Profile>("profiles").With(CollectionPermission.Reading);
var profileQuery = profiles.Query().Limit(10);
Nitric.Run();

Parameters

  • Name
    limit
    Required
    Required
    Type
    int
    Description

    The limit to apply to the query.

See also

Last updated on Dec 24, 2024