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

Support view and triggers displaying #16

Closed
mariotaku opened this issue Apr 18, 2015 · 4 comments · Fixed by #58
Closed

Support view and triggers displaying #16

mariotaku opened this issue Apr 18, 2015 · 4 comments · Fixed by #58
Assignees
Milestone

Comments

@mariotaku
Copy link

It would be nice if we can see views (content and creation statement), and triggers.

@reisub
Copy link
Contributor

reisub commented Apr 18, 2015

We'll see what we can do.
If you have an idea how to do it and the time to do it, feel free to open a pull request :)

@mariotaku
Copy link
Author

no problem, I'll try :)

@reisub
Copy link
Contributor

reisub commented Sep 24, 2015

@mariotaku any luck with this?
@zplesac do you have an idea how to do this?

@zplesac
Copy link
Member

zplesac commented Sep 25, 2015

@reisub @mariotaku Views and triggers are stored in sql_master database file. You can get them like this:

SELECT name, tbl_name FROM sqlite_master WHERE type='trigger';

SELECT sql FROM sqlite_master WHERE type = 'view';

I'll check if we can obtain them using raw SQL statements in Android code.

@bojankoma bojankoma self-assigned this Sep 25, 2020
@bojankoma bojankoma added this to the 5.0.0 milestone Sep 25, 2020
@bojankoma bojankoma linked a pull request Oct 21, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants