better SQL example
This commit is contained in:
parent
a2e3f80ab6
commit
0affa92674
@ -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"
|
||||||
|
|||||||
@ -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 ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user