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

I know, there is no new sql-psi release yet, so I will mark it as draft. But I already need the new release to further implement embedded sql support, and...

Other dialects use the package `package app.cash.sqldelight.dialects.sqlite_3_18` (notice dialects), while `3_30` and `3_35` use `dialect`.

[![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.android.application](https://developer.android.com/studio/build) ([source](https://android.googlesource.com/platform/tools/base)) | `7.2.2` -> `7.3.0` |...

[![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.diffplug.spotless | `6.10.0` -> `6.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.diffplug.spotless/6.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

## Error in SQL Delight IntelliJ Plugin **com.intellij.diagnostic.IdeaReportingEvent$TextBasedThrowable** in **IdeaReportingEvent.java:18** [View on Bugsnag](https://app.bugsnag.com/square-inc/sql-delight-intellij-plugin/errors/631feb7dfbe9c60008ad1646?event_id=631feb7d00965a6033d70000&i=gh&m=ci) ## Stacktrace IdeaReportingEvent.java:18 - com.intellij.diagnostic.IdeaReportingEvent. [View full stacktrace](https://app.bugsnag.com/square-inc/sql-delight-intellij-plugin/errors/631feb7dfbe9c60008ad1646?event_id=631feb7d00965a6033d70000&i=gh&m=ci) *Created automatically via Bugsnag*

bug

Would rather be verbose and safe than introduce the default dispatcher unknowingly in situations where it would cause issues

## Error in SQL Delight IntelliJ Plugin **java.lang.Throwable** in **SchemaNeedsMigrationInspection.kt:37** ALTER TABLE parent=ALTER TABLE [View on Bugsnag](https://app.bugsnag.com/square-inc/sql-delight-intellij-plugin/errors/631908ea05e7a9000826a26f?event_id=631908ea00965c7bfd890000&i=gh&m=ci) ## Stacktrace SchemaNeedsMigrationInspection.kt:37 - app.cash.sqldelight.intellij.inspections.SchemaNeedsMigrationInspection$buildVisitor$1$1.visitCreateTableStmt [View full stacktrace](https://app.bugsnag.com/square-inc/sql-delight-intellij-plugin/errors/631908ea05e7a9000826a26f?event_id=631908ea00965c7bfd890000&i=gh&m=ci) *Created automatically via Bugsnag*

bug

### Description As of [Kotlin 1.6.0](https://kotlinlang.org/docs/whatsnew16.html#compilation-of-windows-targets-on-any-host) Windows targets can be built using any of the other hosts (mac, linux, etc...) Not sure if it makes any difference, but maybe it...

PR WELCOME!
infrastructure

## Error in SQL Delight IntelliJ Plugin **org.jetbrains.kotlin.utils.KotlinExceptionWithAttachments** in **SqlDelightGotoDeclarationHandler.kt:123** Exception while analyzing expression at (40,9) in C:/Users/thand/work/picking-backend/picking/src/main/kotlin/com/tesco/picking/controllers/FoodpandaDirectController.kt [View on Bugsnag](https://app.bugsnag.com/square-inc/sql-delight-intellij-plugin/errors/6315f1a199ddda0008f339f9?event_id=6315f1a10096567d53a90000&i=gh&m=ci) ## Stacktrace SqlDelightGotoDeclarationHandler.kt:123 - app.cash.sqldelight.intellij.SqlDelightGotoDeclarationHandler.targetData SqlDelightGotoDeclarationHandler.kt:65 - app.cash.sqldelight.intellij.SqlDelightGotoDeclarationHandler.getGotoDeclarationTargets$lambda-0 SqlDelightGotoDeclarationHandler.kt:64...

bug

### Description I have a custom language converter and would like to use sqldelight for the sql function, which uses embedded sql https://en.wikipedia.org/wiki/Embedded_SQL: ```sql EXEC SQL SELECT 42, 42 INTO...

feature