---
schema_version: "1"
id: 1cca9910d43759650ae7185067bfd0a31520198824f0f5619d0f541d94fb4664
title: "Interface: QueriedRecord"
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-functions/functions/guide/nodesdk/interfaces/queriedrecord.md
canonical_url: https://developer.salesforce.com/docs/platform/functions/guide/queriedrecord.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 64117a0fd36c2e0e0fdacd45ef801bcb5df8fb23c9c1fa7ffa663f0b0f4c0def
products:
  - Salesforce Functions
---
[sf-fx-runtime-nodejs](https://developer.salesforce.com/docs/platform/functions/NODE_README.md) / QueriedRecord

# Interface: QueriedRecord

Records returned from a query or queryMore request. 

## Properties

### binaryFields

• `Optional` `Readonly` **binaryFields**: `Object`

An optional JavaScript Object with unencoded binary content buffers to create the record with. Each key in `binaryFields` is case insensitive, so the getters and setters for each key/value
pair ignore casing when getting and setting the fields.

---

### fields

• `Readonly` **fields**: `Object`

A JavaScript object with all fields from the returned records.
Each key in `field` is case insensitive, so the getters and setters for each key/value
pair ignore casing when getting and setting the fields.

---

### subQueryResults

• `Readonly` **subQueryResults**: `Object`

Returns the result of a sub query related to this record. Records can have sub query results when the record is the result of a relationship query. Each key in `subQueryResults` is case insensitive, so the getters and setters for each key/value pair ignore casing when getting and setting the fields.

---

### type

• `Readonly` **type**: `string`

The Salesforce Object type, such as Account.
