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

fixes #5288 * Added grammar `DROP CONSTRAINT [ IF EXISTS ] constraint_name [ RESTRICT | CASCADE ]` * moved higher in precedence as `DROP COLUMN` conflicts * Added fixture test...

## Error in SQL Delight IntelliJ Plugin **java.util.NoSuchElementException** in **UpsertClauseMixin.kt:47** Collection contains no element matching the predicate. [View on Bugsnag](https://app.bugsnag.com/square-inc/sql-delight-intellij-plugin/errors/6667537ab2e8240007154a56?event_id=6667537a00ee5f42f2680000&i=gh&m=ci) ## Stacktrace UpsertClauseMixin.kt:47 - app.cash.sqldelight.dialects.sqlite_3_24.grammar.mixins.UpsertClauseMixin.queryAvailable UnusedColumnInspection.kt:41 - app.cash.sqldelight.intellij.inspections.UnusedColumnInspection$buildVisitor$1$1.visitCreateTableStmt [View full...

bug

fixes #5089 🚧 "::" double colon type cast e.g literals, column, functions, bind args ```sql SELECT a::TEXT, concat('tru','e')::boolean, '2023-04-25 10:30:00+02'::TIMESTAMP WITH TIME ZONE, '2023-04-25 10:30:00+02'::TIMESTAMP::DATE, ?::INTEGER FROM T; ``` *...

### SQLDelight Version 2.0.2 ### Application Operating System Android, iOS, Native ### Describe the Bug When using a not in-memory DB on Android, a single table fails to be created...

bug

### SQLDelight Version 2.0.2 ### SQLDelight Dialect app.cash.sqldelight:postgresql-dialect ### Describe the Bug I tried to make a migration file with the contents: ``` ALTER TABLE notes DROP CONSTRAINT must_have_unique_text_for_one_user_in_one_class RESTRICT;...

bug

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.devtools.ksp](https://goo.gle/ksp) ([source](https://togithub.com/google/ksp)) | `1.9.24-1.0.20` -> `2.0.0-1.0.22` |...

## Error in SQL Delight IntelliJ Plugin **java.lang.IllegalStateException** in **SqliteParserUtil.kt:114** Failed to create element for node id Element type was RESULT_COLUMN Dialect is currently class app.cash.sqldelight.dialects.sqlite_3_38.SqliteDialect [View on Bugsnag](https://app.bugsnag.com/square-inc/sql-delight-intellij-plugin/errors/6660bf1ce407d60008197783?event_id=6660bf1c00ee57e398a60000&i=gh&m=ci) ##...

bug

### SQLDelight Version 2.0.2 ### Operating System Mac 14.4.1 ### Gradle Version 8.7 ### Kotlin Version 2.0.0 ### Dialect SQLite ### AGP Version 8.4.1 ### Describe the Bug When running...

bug

For quite some time now AndroidStudio seems to go into an endless loop when trying to load the SQLDelight plugin. See attached screen recording. Although there seems to be a...

bug
component: ide-plugin
needs-info

### SQLDelight Version 2.0.2 ### Operating System Ubuntu 24.04 ### Gradle Version 8.8 ### Kotlin Version 2.0.0 ### Dialect sqlite 38 ### AGP Version 8.4.1 ### Describe the Bug When...

bug