new ResultSet(data) → {ResultSet}
An object containing a collection of RecordSet
Parameters:
Name | Type | Description |
---|---|---|
data |
Array | A list of values |
- Source:
Returns:
An object containing the data
- Type
- ResultSet
Members
stream
Get a stream reference
- Source:
stream
Get a stream reference
- Source:
Methods
fromJSON()
- Source:
fromJSON()
- Source:
get(idx) → {RecordSet}
Return a RecordSet at the specified index if available
Parameters:
Name | Type | Description |
---|---|---|
idx |
Number | Index position |
- Source:
Returns:
record record object
- Type
- RecordSet
get(idx) → {RecordSet}
Return a RecordSet at the specified index if available
Parameters:
Name | Type | Description |
---|---|---|
idx |
Number | Index position |
- Source:
Returns:
record record object
- Type
- RecordSet
setStream(stream)
Set a stream reference
Parameters:
Name | Type | Description |
---|---|---|
stream |
Stream | a stream object reference |
- Source:
setStream(stream)
Set a stream reference
Parameters:
Name | Type | Description |
---|---|---|
stream |
Stream | a stream object reference |
- Source:
size() → {Number}
Return the count of available records
- Source:
Returns:
length count of records
- Type
- Number
size() → {Number}
Return the count of available records
- Source:
Returns:
length count of records
- Type
- Number
toJSON()
- Source:
toJSON()
- Source:
validate()
- Source:
validate()
- Source: