Hi, I'm not able to use upsert with sqldelight. `...
# squarelibraries
m
Hi, I'm not able to use upsert with sqldelight.
Copy code
// Gradle file
sqldelight {
    database("Database") {
        dialect = "sqlite:3.24"
        packageName = "com.myapp.kmm.database"
    }
}

// .sq File
upsert:
INSERT INTO Organization VALUES ?
ON CONFLICT(id) DO
UPDATE SET name=excluded.name, code=excluded.code;

// Error when running the app
E/SQLiteLog: (1) near "ON": syntax error