Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@data-prism/core

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@data-prism/core

Query breakdowns are a useful way of viewing nested queries. They present the root query and each subquery in a single array that can be manipulated for such things as query building. It's helpful to not have to navigate a tree structure in every situatio

  • 0.0.21
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
24
decreased by-35.14%
Maintainers
1
Weekly downloads
 
Created
Source

Query Breakdown

Query breakdowns are a useful way of viewing nested queries. They present the root query and each subquery in a single array that can be manipulated for such things as query building. It's helpful to not have to navigate a tree structure in every situation.

They have the following fields:

  • isRefQuery: The subquery should return a resource ref.
  • parent: The parent query to the subquery. null for the root query.
  • parentRelationship: The name of the relationship traversed on the parent to this subquery. null for the root query.
  • path: An array of traversed relationships to the current subquery, e.g. ["relationship_a", "relationship_b"]. An empty array for the root query.
  • properties: The non-relationship properties to be selected.
  • query: The subquery.
  • relationships: The relationships subqueries to be selected.
  • type: The type of the resource for this subquery.

FAQs

Package last updated on 06 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc