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 e88acfe commit 5ad57a0Copy full SHA for 5ad57a0
Sources/PowerSync/Kotlin/KotlinPowerSyncDatabaseImpl.swift
@@ -385,7 +385,7 @@ final class KotlinPowerSyncDatabaseImpl: PowerSyncDatabaseProtocol {
385
let tableRows = try await getAll(
386
sql: "SELECT tbl_name FROM sqlite_master WHERE rootpage IN (SELECT json_each.value FROM json_each(?))",
387
parameters: [
388
- pagesString,
+ pagesString
389
]
390
) { try $0.getString(index: 0) }
391
@@ -411,7 +411,7 @@ extension Error {
411
func toPowerSyncError() -> PowerSyncKotlin.PowerSyncException {
412
return PowerSyncKotlin.PowerSyncException(
413
message: localizedDescription,
414
- cause: nil
+ cause: PowerSyncKotlin.KotlinThrowable(message: localizedDescription)
415
)
416
}
417
0 commit comments