You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users will want to build views from using columns from different tables or views. We need to enable that from the backend.
Proposed solution
We need a way for users to POST a set of columns to /api/v0/views/ and create a new view.
The API should take in one of the following:
a list of columns (and their associated tables/views)
an existing table
an existing view
If an existing table or view is passed in, we'll treat it as a list of all columns from that table or view.
The API should then transform the list of columns into an appropriate query and create a view using that query. To keep the scope small, we'll only support creating views from columns in tables or views that have a direct foreign key relationship to or from one of the other columns specified.
Problem
Users will want to build views from using columns from different tables or views. We need to enable that from the backend.
Proposed solution
We need a way for users to
POST
a set of columns to/api/v0/views/
and create a new view.The API should take in one of the following:
If an existing table or view is passed in, we'll treat it as a list of all columns from that table or view.
The API should then transform the list of columns into an appropriate query and create a view using that query. To keep the scope small, we'll only support creating views from columns in tables or views that have a direct foreign key relationship to or from one of the other columns specified.
Additional context
The text was updated successfully, but these errors were encountered: