sqldelight icon indicating copy to clipboard operation
sqldelight copied to clipboard

SQLDelight - Generates typesafe Kotlin APIs from SQL

Results 376 sqldelight issues
Sort by recently updated
recently updated
newest added

**Runtime Environment** SQLDelight version: 1.4.4 Application OS: Jvm / applicable to all **Describe the bug** The flag `deriveSchemaFromMigrations` is great because you should end up with a consistent schema. However...

bug

### SQLDelight Version 1.5.0, 1.5.1, 1.5.2 ### Operating System macOS Big Sur 11.6 ### Gradle Version 7.0.2 and 7.3 ### Kotlin Version 1.5.31 ### AGP Version 4.2.2, 7.0.3 and 7.1.0-beta03...

bug

The following in a SQLDelight .sq file: ```sql DELETE FROM records WHERE key LIKE ? ESCAPE '\'; ``` generates a query like: ```sql """DELETE FROM records WHERE key LIKE ?...

bug
not-sqldelight

### SQLDelight Version 1.5.1 ### Application Operating System JVM ### Describe the Bug After updating from 1.4.4 to 1.5.1 we ran into an issue with our tests using the JDBC...

bug

### Description It would be very cool, if the plugin could show a database diagram, (tables, attributes, references).

feature
component: ide-plugin

So that it can be used standalone (e.g., from Bazel) without the need for writing extra Java

component: compiler

```sq CREATE TABLE table ( text TEXT ); CREATE VIEW view AS SELECT text FROM table ``` Migration: ```sq DROP TABLE IF EXISTS table; CREATE TABLE table ( text TEXT...

feature

There is no support for the row_count() function in MySQL. Quick question, Since I'm used to automatically get those numbers, is it going to be safe to run the `[MySQL]...

enhancement
component: sql-psi

When I click the 1.x API link in the navigation at https://cashapp.github.io/sqldelight/ it goes to https://cashapp.github.io/sqldelight/1.x/android-driver/index.md which shows "404 - Not found".

### SQLDelight Version 1.5.1 ### IDE Version Android Studio 7.0.0 ### Dialect SQLite ### Describe the Bug ``` CREATE TABLE Source( id TEXT PRIMARY KEY NOT NULL, source TEXT );...

bug
component: ide-plugin
PR WELCOME!