Pinia getters, used via this.$store.getters
, e.g.:
this.$store.getters['jv/get'](<args>)
- Source:
Methods
(static) getData(data, jsonpath) → {object}
Get record(s) from the store
Parameters:
Name | Type | Description |
---|---|---|
data |
string | object | |
|
string | A URL path to an item - e.g. |
|
object | A restructured object - e.g. |
jsonpath |
string | a JSONPath string to filter the record(s) which are being retrieved. See JSONPath Syntax |
- Source:
Returns:
Restructured representation of the record(s)
- Type
- object
(static) getRelatedData(data) → {object}
Get the related record(s) of a record from the store
Parameters:
Name | Type | Description |
---|---|---|
data |
string | object | |
|
string | A URL path to an item - e.g. |
|
object | A restructured object - e.g. |
- Source:
Returns:
Restructured representation of the record(s)
- Type
- object