1
Export view as Query
Source: directus/directus#23033 · opened by @nodeGarden
Describe the Request
It would be very useful to take what is shown inside a data table, such as the Content section viewer, or Insights component, and export a fully qualified API query for what rules are populating it.
Say I have applied a filter to the results of the Content > Collection view, and I want to make the same available in another part of the UI (like Insights) or Externally. It would be great if we could get a CURL/Fetch/SQL/etc that will give us the same results. Bonus points if we can CHOOSE between multiple formats.
 or Externally. It would be great if we could get a CURL/Fetch/SQL/etc that will give us the same results. Bonus points if we can CHOOSE between multiple formats.
![image](
The same for Insights, because some of the components might have their own filters/aggregations, it would be great to create a "validation" query to go direct to the SQL DB and confirm everything is displaying correctly.
Maintainence Strategy
Would need to be kept up-to-date with all filter updates
No pledges yet. Be the first to back this.
Comments
Similar requests
Export Collection Items in .xlsx Format
46 votes · 0 comments
Export Drawer UX
1 vote · 0 comments
Import and export option for flows
82 votes · 0 comments
Filter data from Query parameters in the UI data studio
1 vote · 0 comments
Streamlining Flows Across Environments: Export, Import, and Duplicate Features
21 votes · 0 comments
No comments yet.