SQLiter icon indicating copy to clipboard operation
SQLiter copied to clipboard

Minimal multiplatform sqlite library

Results 51 SQLiter issues
Sort by recently updated
recently updated
newest added

Explicit freezing in tests moved to calling the same "maybeFreeze" function to match production. Similar method added to ensure never frozen, for strict memory model. Other changes suggested by the...

We mostly rely on sqldelight docs for driver config, but it really would make sense to add some better docs here. Specifically, this came up recently with encryption. See: https://github.com/touchlab/SQLiter/issues/58...

I'm currently using sqldelight 2.0.0-alpha03 and when trying to use the native in memory database on iOS in tests (`./gradlew iosSimulatorArm64Test`) I get: ``` w: Mimalloc allocator isn't supported on...

If you bind an empty data blob like `ByteArray(0)` to a statement, you'll get a crash: ``` kotlin.ArrayIndexOutOfBoundsException at kotlin.Throwable#(/Users/teamcity2/buildAgent/work/11ac87a349af04d5/runtime/src/main/kotlin/kotlin/Throwable.kt:27) at kotlin.Exception#(/Users/teamcity2/buildAgent/work/11ac87a349af04d5/runtime/src/main/kotlin/kotlin/Exceptions.kt:21) at kotlin.RuntimeException#(/Users/teamcity2/buildAgent/work/11ac87a349af04d5/runtime/src/main/kotlin/kotlin/Exceptions.kt:32) at kotlin.IndexOutOfBoundsException#(/Users/teamcity2/buildAgent/work/11ac87a349af04d5/runtime/src/main/kotlin/kotlin/Exceptions.kt:90) at kotlin.ArrayIndexOutOfBoundsException#(/Users/teamcity2/buildAgent/work/11ac87a349af04d5/runtime/src/main/kotlin/kotlin/Exceptions.kt:97) at .ThrowArrayIndexOutOfBoundsException(/Users/teamcity2/buildAgent/work/11ac87a349af04d5/runtime/src/main/kotlin/kotlin/native/internal/RuntimeUtils.kt:23)...

specifically the `name` property of `DatabaseConfiguration` should be nullable, and when null should mean the created SQLite db is in memory

See #62 and #61 for context. We can technically do this, but we should maybe clean it up a bit, and document it. Maybe, maybe do a little library, but...

Kotlin 1.6.10+ breaks the way we get sqlite's linker library. We can still publish, but can't run tests on windows. Need to figure that out.

Notes on tests that should be added: kotlin/co/touchlab/sqliter/Cursor.kt All of the extension functions co.touchlab.sqliter.Statement Check extension methods DatabaseFileContext Extensions