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

Remove unnecessary db methods #132

Merged
merged 1 commit into from Jul 22, 2020
Merged

Conversation

asdine
Copy link
Collaborator

@asdine asdine commented Jul 19, 2020

ViewTable and UpdateTable used to be useful when Genji was doing code generation and before the introduction of SQL. They were used to limit the number of lines of generated code.
They no longer make sense now as we want to encourage users to use SQL as much as possible.
If there is a need to access tables, there is still the View and Update methods.
Please let me know if you think otherwise

@asdine asdine changed the base branch from master to fix-parentheses-behavior July 19, 2020 13:41
Copy link
Collaborator

@yaziine yaziine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes sense to me 👍

@asdine asdine force-pushed the remove-unnecessary-db-methods branch from b522c35 to a56605c Compare July 22, 2020 12:58
Base automatically changed from fix-parentheses-behavior to master July 22, 2020 13:02
@asdine asdine force-pushed the remove-unnecessary-db-methods branch from a56605c to 712ef56 Compare July 22, 2020 13:03
@asdine asdine merged commit 075e204 into master Jul 22, 2020
@asdine asdine deleted the remove-unnecessary-db-methods branch July 22, 2020 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants