Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heuristics for showing a useful "next steps" message and link #3

Closed
simonw opened this issue Aug 10, 2020 · 3 comments
Closed

Heuristics for showing a useful "next steps" message and link #3

simonw opened this issue Aug 10, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Aug 10, 2020

If you perform a write like this one:

create view blah as select * from foo;

It would be nice to show a confirmation message like this:

View created: blah

This could be achieved for a bunch of common cases using really simple regular expressions.

@simonw simonw added the enhancement New feature or request label Aug 10, 2020
@simonw
Copy link
Owner Author

simonw commented Aug 10, 2020

Candidates for this feature:

  • alter table ...
  • create table ...
  • create view ...
  • drop table ...
  • drop view ...

And maybe also these ones (harder to parse though):

  • insert into ...
  • update ...
  • delete from ...
  • create trigger ...
  • create index ...
  • drop index ...
  • drop trigger ...

The drop ones won't show a next step link because the thing you would link to has just been dropped.

@simonw
Copy link
Owner Author

simonw commented Aug 10, 2020

I'll ignore common table expressions.

@simonw
Copy link
Owner Author

simonw commented Sep 11, 2021

I'll just do the create table/view x ones for the moment.

simonw added a commit that referenced this issue Sep 11, 2021
simonw added a commit that referenced this issue Sep 11, 2021
@simonw simonw closed this as completed Sep 11, 2021
simonw added a commit that referenced this issue Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant