Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If developers want to see the count of total records for they view, the count parameter can be used. 

    Code Block
    titleGet Total Record Count
    http://{host}/rds/{collection}/{view}/select?count
    Code Block
    {
    	records: [...],
    	info: {
    		colOffset: 0,
    		colCount: 67,
    		moreCols: false,
    		format: "MTNA",
    		includeMetadata: false,
    		limit: 20,
    		offset: 0,
    		count: 662,
    		moreRows: true
    	}
    }
  • Record limits can be adjusted using the limit paramter. 

    Code Block
    titleSelect 100 Records
    http://mhdo.mtna.us:8080{host}/rds/catalog/test/NES1948{collection}/{view}/select?limit=100
  • Records can be paginated using the offset parameter. 

    Code Block
    titleRecords 101-200
    http://mhdo.mtna.us:8080{host}/rds/catalog/test/NES1948/{collection}/{view}/select?limit=100&offset=100
    code
    Code Block
    titleRecords 201-300
    http://mhdo.mtna.us:8080{host}/rds/catalog/test/NES1948{collection}/{view}/select?limit=100&offset=200

     

    titleRecords 201-300
    http://mhdo.mtna.us:8080/rds/catalog/test/NES1948/select?limit=100&offset=100