datajunction-server 0.0.257__tar.gz → 0.0.259__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: datajunction-server
3
- Version: 0.0.257
3
+ Version: 0.0.259
4
4
  Summary: DataJunction server library for running to a DataJunction server
5
5
  Project-URL: Homepage, https://datajunction.io
6
6
  Project-URL: Repository, https://github.com/DataJunction/dj
@@ -528,6 +528,11 @@ type Query {
528
528
  """
529
529
  dimensions: [String!] = null
530
530
 
531
+ """
532
+ Filter to nodes backed by any of these physical tables. Each entry may be fully qualified (catalog.schema.table), partially qualified (schema.table) or a bare table name; matching is case-insensitive. Only source nodes carry a table, so this returns source nodes -- use downstreamNodes to reach the transforms and metrics built on them.
533
+ """
534
+ tables: [String!] = null
535
+
531
536
  """Filter to nodes edited by this user"""
532
537
  editedBy: String = null
533
538
 
@@ -593,6 +598,11 @@ type Query {
593
598
  """
594
599
  dimensions: [String!] = null
595
600
 
601
+ """
602
+ Filter to nodes backed by any of these physical tables. Each entry may be fully qualified (catalog.schema.table), partially qualified (schema.table) or a bare table name; matching is case-insensitive. Only source nodes carry a table, so this returns source nodes -- use downstreamNodes to reach the transforms and metrics built on them.
603
+ """
604
+ tables: [String!] = null
605
+
596
606
  """Filter to nodes edited by this user"""
597
607
  editedBy: String = null
598
608
 
@@ -675,6 +685,29 @@ type Query {
675
685
  includeDeactivated: Boolean! = false
676
686
  ): [Node!]!
677
687
 
688
+ """
689
+ Find the nodes associated with a physical table: the source nodes on that table and, unless disabled, everything downstream of them.
690
+ """
691
+ nodesForTable(
692
+ """
693
+ The physical table to look up. May be fully qualified (catalog.schema.table), partially qualified (schema.table) or a bare table name; matching is case-insensitive.
694
+ """
695
+ table: String!
696
+
697
+ """
698
+ Filter the returned nodes to these node types. Applies to the whole result, the source nodes included.
699
+ """
700
+ nodeTypes: [NodeType!] = null
701
+
702
+ """
703
+ Also return everything transitively downstream of the source nodes on this table (transforms, dimensions, metrics, cubes).
704
+ """
705
+ includeDownstream: Boolean! = true
706
+
707
+ """Whether to include deactivated downstream nodes."""
708
+ includeDeactivated: Boolean! = false
709
+ ): [Node!]!
710
+
678
711
  """Get measures SQL for a list of metrics, dimensions, and filters."""
679
712
  measuresSql(
680
713
  cube: CubeDefinition!