Constructs a new record service object.
Ops configuration.
Read time series data from a historized point.
The id of the historized point.
The date range.
The time series data.
Write the time series data to the historized point.
The id of the historized point.
The data to write to the history.
The history data to write.
Invoke an action on the target record.
The id of the target record to invoke the action on.
The name of the action to invoke.
Optional
args: HaysonDict | HDictOptional arguments for the action.
The result of the action.
Get the navigation hierarchy at the specified node via its navId
.
Return the root node if none is specified.
Optional
navId: string | HRef | HaysonDict | HDict | HGrid | HStrOptional navId string, str, ref, dict or grid. If a dict or grid, the id must be specified via a navId property.
The navigation.
Write to a point's priority level.
The writable point's priority array.
list of ids as HRef or string
Reads a set of records from the server by id.
const result = await client.read(['@id1', '@id2', '@id3'])
The required haystack filter.
Optional
limit: numberOptional limit on the number of records sent back.
Reads a set of records from the server by filter.
Please note, to help build a Haystack filter you can use HFilterBuilder available in Haystack Core.
const filter = new HFilterBuilder()
.has('site')
.and()
.equals('geoCity', 'Las Vegas')
.build()
const result = await client.read(filter)
A service used for calling standard Haystack Ops.