better SQL example

This commit is contained in:
Sergey Chernov 2026-04-16 01:08:31 +03:00
parent a2e3f80ab6
commit 0affa92674
2 changed files with 2 additions and 6 deletions

View File

@ -20,7 +20,7 @@
set -e set -e
echo "publishing all artifacts" echo "publishing all artifacts"
echo 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
#echo "Creating plugin" #echo "Creating plugin"

View File

@ -77,11 +77,7 @@ db.transaction { tx ->
// The generic entry point stays useful for config-driven code. // The generic entry point stays useful for config-driven code.
val genericDb = openDatabase( val genericDb = openDatabase(
"sqlite::memory:", "sqlite::memory:",{ foreignKeys: true, busyTimeoutMillis: 1000 }
Map(
"foreignKeys" => true,
"busyTimeoutMillis" => 1000
)
) )
val answer = genericDb.transaction { tx -> val answer = genericDb.transaction { tx ->