MCPcopy Create free account
hub / github.com/parse-community/parse-server / getDeepestObjectFromKey

Function getDeepestObjectFromKey

src/RestQuery.js:662–667  ·  view source on GitHub ↗
(json, key, idx, src)

Source from the content-addressed store, hash-verified

660
661// Used to get the deepest object from json using dot notation.
662const getDeepestObjectFromKey = (json, key, idx, src) => {
663 if (key in json) {
664 return json[key];
665 }
666 src.splice(1); // Exit Early
667};
668
669const transformSelect = (selectObject, key, objects) => {
670 var values = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…