- See: Data Graph Types
- See: Transform Types
Library type definitions are declared in the flow-typed/
folder.
The exported module
Creates a SQL data graph instance.
Parameters
connector
ConnectorinitialState
GraphState (optional, default{}
)
Returns Graph
Returns a SQL query string based on the DataState passed in.
Parameters
state
DataState
Returns string
An instance of a SQL data graph
Returns all data node instances of the graph.
Returns Array<DataNode>
Returns the state of the graph.
Returns GraphState
Creates a data node instance.
Parameters
state
DataState
Returns DataNode
A node in the graph that represents a set of data transformations.
Returns the state of the data node.
Returns DataState
Sets the transform state of the data node.
Parameters
transform
(Transform | Array<Transform>)
Returns DataNode
Returns the SQL string representation of the set of data transformations the node embodies.
Returns string
Executes data node's SQL query representation and returns queried data as a promise.