dataPagingQryStr(page, rowsPerPage) {
          // Defensively correct any problems with args
          if (!Number.isInteger(page)) {
            console.error('PI: $api "dataPagingQryStr" bad arg: "page"');
            page = 1;
          }
          if (!Number.isInteger(rowsPerPage)) {
            console.error('PI: $api "dataPagingQryStr" bad arg: "rowsPerPage"');
            rowsPerPage = 5;
          }
          if (page < 1) page = 1;
          if (rowsPerPage < 1) rowsPerPage = 5;
          if (rowsPerPage > 500) rowsPerPage = 500;

          return `filter[limit]=${rowsPerPage}&filter[skip]=${(page - 1) * rowsPerPage}`;
        }
/**
         * Given the page number and number of rowsPerPage return the LoopBack query string fragment for paging data during retrieval
         * @param {number} page Page number (1-based)
         * @param {number} rowsPerPage Number of rows per page
         * @returns LoopBack query string fragment for paging
         */
Given the page number and number of rowsPerPage return the LoopBack query string fragment for paging data during retrieval
@param {number} page Page number (1-based)
@param {number} rowsPerPage Number of rows per page
@returns LoopBack query string fragment for paging
Given the page number and number of rowsPerPage return the LoopBack query string fragment for paging data during retrieval @param { number } page Page number ( 1 - based ) @param { number } rowsPerPage Number of rows per page @returns LoopBack query string fragment for paging
dataPagingQryStr(page, rowsPerPage) {
          if (!Number.isInteger(page)) {
            console.error('PI: $api "dataPagingQryStr" bad arg: "page"');
            page = 1;
          }
          if (!Number.isInteger(rowsPerPage)) {
            console.error('PI: $api "dataPagingQryStr" bad arg: "rowsPerPage"');
            rowsPerPage = 5;
          }
          if (page < 1) page = 1;
          if (rowsPerPage < 1) rowsPerPage = 5;
          if (rowsPerPage > 500) rowsPerPage = 500;
          return `filter[limit]=${rowsPerPage}&filter[skip]=${(page - 1) * rowsPerPage}`;
        }
dataPagingQryStr ( page , rowsPerPage ) { if ( ! Number . isInteger ( page ) ) { console . error ( 'PI: $api "dataPagingQryStr" bad arg: "page"' ) ; page = 1 ; } if ( ! Number . isInteger ( rowsPerPage ) ) { console . error ( 'PI: $api "dataPagingQryStr" bad arg: "rowsPerPage"' ) ; rowsPerPage = 5 ; } if ( page < 1 ) page = 1 ; if ( rowsPerPage < 1 ) rowsPerPage = 5 ; if ( rowsPerPage > 500 ) rowsPerPage = 500 ; return ` ${ rowsPerPage } ${ ( page - 1 ) * rowsPerPage } ` ; }
Given the page number and number of rowsPerPage return the LoopBack query string fragment for paging data during retrieval
 @param {number} page Page number (1-based)
 @param {number} rowsPerPage Number of rows per page
 @returns LoopBack query string fragment for paging
Given the page number and number of rowsPerPage return the LoopBack query string fragment for paging data during retrieval @param { number } page Page number ( 1 - based ) @param { number } rowsPerPage Number of rows per page @returns LoopBack query string fragment for paging
// Defensively correct any problems with args