You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETABLEdog (
name VARCHAR(8) NOT NULL,
breed VARCHAR(40) NOT NULL,
is_good BOOLEAN DEFAULT TRUE NOT NULL
);
insertDog:
INSERT INTO dog
VALUES (?, ?, DEFAULT);
publicfuninsertDog(
name:String,
breed:String,
is_good:Boolean,
): Unit {
driver.execute(2111717998, """ |INSERT INTO dog (name, breed, is_good) |VALUES (?, ?, ?)""".trimMargin(), 3) {
check(thisisJdbcPreparedStatement)
bindString(0, name)
bindString(1, breed)
bindLong(2, if (is_good) 1Lelse0L)
}
notifyQueries(2111717998) { emit ->
emit("dog")
}
}
SQLDelight Version
master #af1e04406489a324d3e53efcf68700cc88e9844d
Operating System
nA
Gradle Version
nA
Kotlin Version
1.7.10
Dialect
HSql (and PostgreSQL after merge)
AGP Version
No response
Describe the Bug
Given sql:
Expected:
Stacktrace
No response
Gradle Build Script
No response
The text was updated successfully, but these errors were encountered: