Uploaded image for project: 'Hue'
  1. Hue
  2. HUE-8506

[editor] Add options to limit number of fetched results

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0
    • Fix Version/s: None
    • Component/s: core.editor
    • Labels:
      None

      Description

      Add 4 new options:

      Apply download_row_limit to query fetch limit.

      e.g. if download_row_limit is set to 100, the user will not be able to see more than 100 results from a query.

      query_fetch_limit=false

       

      Cancel query when user reaches last record. The last record is either the last result of the query or when the limit is reached via query_fetch_limit.

      cancel_query_on_end=false

       

      Maximum number of results fetched per page.

      e.g. if query_fetch_page_size is set to 100, query results will be fetched in increment of 100 each time the user scrolls to the end of the results or prefetched via query_prefetch_results.

      query_fetch_page_size=100

       

      Prefetch all the results in increment of query_fetch_page_size. To be used in conjunction with query_fetch_limit.

      query_prefetch_results=False

       

      When all set, the query will be canceled right after the results are returned.

       

        Attachments

          Activity

            People

            • Assignee:
              jgauthier Jean Francois Desjeans Gauthier
              Reporter:
              jgauthier Jean Francois Desjeans Gauthier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: