better SQL example
This commit is contained in:
1 parent
a2e3f80ab6
commit
0affa92674
2 files changed
+2
-6
No files matched your search
@@ -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 ->
|
||||
|
||||
Reference in new issue
Block a user