IndexedDB.requestData

Requests data from object store or index.

{
  "name": "requestData",
  "async": true,
  "parameters": [
    {
      "name": "securityOrigin",
      "type": "string",
      "description": "Security origin."
    },
    {
      "name": "databaseName",
      "type": "string",
      "description": "Database name."
    },
    {
      "name": "objectStoreName",
      "type": "string",
      "description": "Object store name."
    },
    {
      "name": "indexName",
      "type": "string",
      "description": "Index name, empty string for object store data requests."
    },
    {
      "name": "skipCount",
      "type": "integer",
      "description": "Number of records to skip."
    },
    {
      "name": "pageSize",
      "type": "integer",
      "description": "Number of records to fetch."
    },
    {
      "name": "keyRange",
      "$ref": "KeyRange",
      "optional": true,
      "description": "Key range."
    }
  ],
  "returns": [
    {
      "name": "objectStoreDataEntries",
      "type": "array",
      "items": {
        "$ref": "DataEntry"
      },
      "description": "Array of object store data entries."
    },
    {
      "name": "hasMore",
      "type": "boolean",
      "description": "If true, there are more entries to fetch in the given range."
    }
  ],
  "description": "Requests data from object store or index."
}