drop_nested_child_records: Drop nested child records in a record

View source: R/utils-query.R

drop_nested_child_recordsR Documentation

Drop nested child records in a record

Description

This function accepts a single record from a nested query and removes the element with nested "records" which represent the child records belonging to the parent.

Usage

drop_nested_child_records(x)

Arguments

x

list; a list parsed from JSON and representing one individual parent query record.

Value

list; a list without any elements that have nested child records assuming they have already been extracted.

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.