A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mrichar1.github.io/jsonapi-vuex/module-jsonapi-vuex.jsonapiModule.getters.html below:

getters

Namespace

getters jsonapi-vuex.jsonapiModule.getters Methods # static get(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. endpoint/1

object

A restructured object - e.g. { _jv: { type: "endpoint", id: "1" } }

jsonpath string

a JSONPath string to filter the record(s) which are being retrieved. See JSONPath Syntax

View Source getters.js, line 29

Returns:

Restructured representation of the record(s)

Type: 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. endpoint/1

object

A restructured object - e.g. { _jv: { type: "endpoint", id: "1" } }

View Source getters.js, line 80

Returns:

Restructured representation of the record(s)

Type: object


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4