Alexander Ioffe
09/20/2024, 12:41 AMAlexander Ioffe
09/27/2024, 1:31 AMLt. Templeton Peck
10/01/2024, 11:59 AMterpal = "2.0.0-0.3.1"
terpal-plugin = "2.0.20-1.0.0.PL"
Has broken my build as it can no longer import io.exoquery.sql.jdbc.Sql
I can see there are changes to use io.exoquery.sql.Sql
instead but that isn't available from terpal-sql-core
for 2.0.0-0.3.1
Alexander Ioffe
10/02/2024, 4:04 PMAlexander Ioffe
10/02/2024, 4:06 PMAlexander Ioffe
10/02/2024, 4:07 PMAlexander Ioffe
10/02/2024, 4:07 PMAlexander Ioffe
10/02/2024, 4:13 PMio.exoquery.sql.jdbc.Sql
will be deprecated and I'll have a proper ReplaceWith(io.exoquery.sql.Sql)
.Alexander Ioffe
10/02/2024, 4:27 PMAlexander Ioffe
10/07/2024, 12:43 PMAlexander Ioffe
10/15/2024, 12:47 PMAlexander Ioffe
10/16/2024, 5:16 AMphldavies
11/21/2024, 7:14 PMAlexander Ioffe
11/21/2024, 11:38 PMLt. Templeton Peck
11/27/2024, 3:02 PMArjan van Wieringen
12/08/2024, 3:54 PMSql(""" .... multiline string ... """)
Is not supported?phldavies
01/22/2025, 10:36 PMwrap
method? I'd like to implement a json interpolator that implicitly uses Json.encodeToJsonElement()
when handling any parameter that isn't a json primitive. I can work around it by doing """{"field": ${json.encodeToJsonElement(myVal)}}"""
but would ideally use """{"field": $myVal}"""
(obviously using a helper can at least make this something like """{"field": ${json(myVal)}}"""
at least helps here)
I've tried inline fun <reified T> JsonInterpolator.wrap(value: T): JsonElement = Json.encodeToString(value)
but it doesn't like the type parameter and I'm guessing it won't properly inline the call either.Alexander Ioffe
01/26/2025, 2:55 PMAlexander Ioffe
01/26/2025, 2:56 PMwrap
function doesn’t reason about types vs classes well enough, I’ve got a solution to that. Please file an issue in GitHub.Lt. Templeton Peck
03/24/2025, 1:05 PMAlexander Ioffe
03/31/2025, 12:22 PMAlexander Ioffe
04/29/2025, 1:09 PMAlexander Ioffe
05/21/2025, 2:30 PMCies
06/14/2025, 10:37 AM1683 KB kotlin-stdlib-2.1.20.jar
1510 KB kotlinx-coroutines-core-jvm-1.8.1.jar
1063 KB postgresql-42.7.3.jar
865 KB kotlinx-html-jvm-0.11.0.jar
836 KB http4k-core-6.9.2.0.jar
771 KB okhttp-4.12.0.jar
648 KB kotlinx-datetime-jvm-0.6.0.jar
382 KB kotlinx-serialization-core-jvm-1.8.1.jar
351 KB okio-jvm-3.6.0.jar
288 KB config-1.4.1.jar
270 KB supabase-http4k.jar
270 KB kotlinx-serialization-json-jvm-1.8.1.jar
246 KB terpal-sql-core-jvm-2.0.0.PL-1.2.0.jar
225 KB checker-qual-3.42.0.jar
198 KB terpal-sql-jdbc-jvm-2.0.0.PL-1.2.0.jar
198 KB http4k-realtime-core-6.9.2.0.jar
158 KB HikariCP-5.1.0.jar
148 KB konform-jvm-0.11.0.jar
106 KB kotlin-logging-jvm-7.0.7.jar
96 KB http4k-format-core-6.9.2.0.jar
68 KB slf4j-api-2.0.17.jar
59 KB http4k-config-6.9.2.0.jar
56 KB http4k-format-kotlinx-serialization-6.9.2.0.jar
35 KB atomicfu-jvm-0.23.1.jar
29 KB annotations-24.1.0.jar
28 KB http4k-client-okhttp-6.9.2.0.jar
27 KB result4k-2.22.3.0.jar
22 KB terpal-runtime-jvm-2.1.0-2.0.0.PL.jar
15 KB slf4j-simple-2.0.17.jar
0 KB kotlin-stdlib-jdk8-1.9.10.jar
0 KB kotlin-stdlib-jdk7-1.9.10.jar
---------------
TOTAL: 11M build/distributions/supabase-http4k.tar
Cies
06/14/2025, 10:42 AMCies
06/14/2025, 10:43 AMCies
06/14/2025, 10:45 AMCies
06/14/2025, 10:46 AMjdbi.open().use { db ->
val orgDao = dbtx.attach(OrganizationDao::class.java)
val orgs = orgDao.listOrganizations()
// ...
}
db.database.connection.use { jdbc ->
jdbc.prepareStatement("....").execute()
}
Are these connections? Or sessions? Or transactions? (nah, they are for sure not transactions; transactions are opened in a different way)arve
07/26/2025, 11:02 PM.values(Flow<T>)
Am I missing something?