@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Interface ICanPrecedeLimit

    Describes a query block that can create a limit clause as its following block

    interface ICanPrecedeLimit {
        limit(limit: number, from: LimitClauseDirection): LimitBlock;
    }

    Implemented by

    Index

    Methods

    Methods

    • Appends a limit clause to the query

      Parameters

      • limit: number

        Amount of element to query at most

      • from: LimitClauseDirection

        Starts from the start or the end of the query

      Returns LimitBlock

      The LimitBlock appended to the query