sqldelight
sqldelight copied to clipboard
SQLDelight - Generates typesafe Kotlin APIs from SQL
**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...
### 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...
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 ?...
### 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...
### Description It would be very cool, if the plugin could show a database diagram, (tables, attributes, references).
So that it can be used standalone (e.g., from Bazel) without the need for writing extra Java
```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...
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]...
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 );...