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 updating a view which has a INSTEAD OF trigger #3050

Conversation

AlecKazakova
Copy link
Collaborator

Closes #1018

@@ -35,8 +35,8 @@ sealed class NamedMutator(
) : NamedExecute(identifier, statement) {
val containingFile = statement.sqFile() as SqlDelightQueriesFile

internal val tableEffected: TableNameElement by lazy {
tableName.referencedTables().single()
internal val tableEffected: Collection<TableNameElement> by lazy {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: table -> tables, effected -> affected

@AlecKazakova AlecKazakova force-pushed the astrong/2022-04-11/support-updating-views-with-triggers branch from 1cf8af2 to 8b0c346 Compare April 11, 2022 13:40
@AlecKazakova AlecKazakova merged commit 6e2b741 into sql-psi-dev Apr 11, 2022
@AlecKazakova AlecKazakova deleted the astrong/2022-04-11/support-updating-views-with-triggers branch April 11, 2022 14:10
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.

2 participants