question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Table View Editor for Creating View instead of table

See original GitHub issue

Feature request

Right now we only have Table Editor for concrete tables so we can directly view the data in supabase

Is your feature request related to a problem? Please describe.

Problem is we do not have table view editor for VIEWS. Typically we want to create complex table query like relationship, but doesn’t scale well in the frontend code where you will add this complex queries to your code. So the solution is to create a custom view and add that SQL query so in the client side the complexity has been abstract.

Describe the solution you’d like

Add a view editor page like table editor so we can view the output and navigate with paginate just like the table editor page. We can also add a form page to create a view so we don’t bloat the SQL page with different kinds of SQL Commands

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
awaliascommented, Jul 16, 2021

Add a view editor page like table editor so we can view the output and navigate with paginate just like the table editor page.

this one we already have

image

however as you mention, it is not yet possible to edit the view from the table editor, only read

0reactions
activenodecommented, Oct 23, 2022

@nuurcodes RLS cannot be addet to Views as to my knowledge - within supabase ATM.

I tried the proposed one here but it doesn’t let me apply it https://www.cybertec-postgresql.com/en/view-permissions-and-row-level-security-in-postgresql/

That means any View will be public even if it is using protected data.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CREATE VIEW SQL: Modifying views in SQL Server
This article is about creating and modifying views in SQL Server using the CREATE VIEW SQL statement with an explanation of the ALTER...
Read more >
3 reasons to use views instead of tables in Power BI!
Using view instead of table, you can ensure consistency between all the reports. For example, imagine that you want all your reports to...
Read more >
SQL CREATE VIEW Statement - W3Schools
In SQL, a view is a virtual table based on the result-set of an SQL statement. ... A view can be updated with...
Read more >
Power BI Desktop Tips and Tricks (32/100) - YouTube
If you are connecting to database from power biWhy you need to use views instead of directly pointing to a tableAdvantages of using...
Read more >
Table.View - PowerQuery M - Microsoft Learn
Table.View can be used to implement folding to a data source—the translation of M queries into source-specific queries (for example, to create T ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found