better SQL example

This commit is contained in:
sergeych committed 2026-04-16 01:08:31 +03:00
1 parent a2e3f80ab6
commit 0affa92674
2 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@
set -e
echo "publishing all artifacts"
echo
./gradlew publishToMavenLocal site:jsBrowserDistribution publish buildInstallablePlugin :lyng:linkReleaseExecutableLinuxX64 :lyng:installJvmDist --parallel --no-configuration-cache
./gradlew publishToMavenLocal site:jsBrowserDistribution publish buildInstallablePlugin :lyng:linkReleaseExecutableLinuxX64 :lyng:installJvmDist --parallel #--no-configuration-cache
#echo
#echo "Creating plugin"
+1 -5
View File
@@ -77,11 +77,7 @@ db.transaction { tx ->
// The generic entry point stays useful for config-driven code.
val genericDb = openDatabase(
"sqlite::memory:",
Map(
"foreignKeys" => true,
"busyTimeoutMillis" => 1000
)
"sqlite::memory:",{ foreignKeys: true, busyTimeoutMillis: 1000 }
)
val answer = genericDb.transaction { tx ->