-
Notifications
You must be signed in to change notification settings - Fork 503
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
Inserts not emitted to listeners when using grouping statement #3743
Comments
I am hitting the same issue when using SQLite 3.35 RETURNING statement in an insert e.g. INSERT INTO ... |
this is intentional, the alternative to whats there right now is returning an observable query which means it will execute the update/insert whenever the underlying table changes. I assume you only want to observe the |
nvm misread |
Is there any plan to fix this issue? |
Hi @griffio 9 months passed and nothing is done? |
🕊️ Sadly, I am not familiar with this issue. Though on quick inspection 🔍 the problem looks to be in SqlDelightQueriesFile I can have a look and see if there is a fix - I would have to try a few things but can't promise 🎀 🤔 Looks like only when there is a SELECT statement in the group does it not emit the notification. |
Thank you for your answer. I know that if the query returns any data it won't notify listeners. But it's a bug. |
Yes - indeed Currently, that I have tried myself, only a grouping Any fix, would also have to work for
Maybe create a 📣 discussion question so other contributors can see it better ? |
SQLDelight Version
2.0.0-alpha02
Operating System
Android
Gradle Version
7.5
Kotlin Version
1.7.20
Dialect
default
AGP Version
No response
Describe the Bug
Stacktrace
No response
Gradle Build Script
No response
The text was updated successfully, but these errors were encountered: