We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c57c9 commit 78658d7Copy full SHA for 78658d7
core/src/commonMain/kotlin/com/powersync/db/StreamImpl.kt
@@ -23,7 +23,7 @@ internal class StreamTracker(
23
24
suspend fun subscriptionsCommand(command: RustSubscriptionChangeRequest) {
25
db.writeTransaction { tx ->
26
- tx.execute("SELECT powersync_control(?,?)", listOf("subscriptions", jsonDontEncodeDefaults.encodeToString(command)))
+ tx.get("SELECT powersync_control(?,?)", listOf("subscriptions", jsonDontEncodeDefaults.encodeToString(command))) {}
27
}
28
db.resolveOfflineSyncStatusIfNotConnected()
29
0 commit comments