-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update plugin kotlin-multiplatform to v1.6.10 (#10)
- Loading branch information
1 parent
5dbe0f3
commit b6f935f
Showing
6 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,10 +58,10 @@ not be executed concurrently. | |
```kotlin | ||
database.writeTransaction("customers") { | ||
val store = objectStore("customers") | ||
store.add(jsObject<Customer> { ssn = "333-33-3333"; name = "Alice"; age = 33; email = "[email protected]" }) | ||
store.add(jsObject<Customer> { ssn = "444-44-4444"; name = "Bill"; age = 35; email = "[email protected]" }) | ||
store.add(jsObject<Customer> { ssn = "555-55-5555"; name = "Charlie"; age = 29; email = "[email protected]" }) | ||
store.add(jsObject<Customer> { ssn = "666-66-6666"; name = "Donna"; age = 31; email = "[email protected]" }) | ||
store.add(jso<Customer> { ssn = "333-33-3333"; name = "Alice"; age = 33; email = "[email protected]" }) | ||
store.add(jso<Customer> { ssn = "444-44-4444"; name = "Bill"; age = 35; email = "[email protected]" }) | ||
store.add(jso<Customer> { ssn = "555-55-5555"; name = "Charlie"; age = 29; email = "[email protected]" }) | ||
store.add(jso<Customer> { ssn = "666-66-6666"; name = "Donna"; age = 31; email = "[email protected]" }) | ||
} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package com.juul.indexeddb | ||
|
||
import kotlinext.js.jsObject | ||
import kotlinext.js.jso | ||
import kotlinx.coroutines.flow.first | ||
import kotlinx.coroutines.flow.map | ||
import kotlin.test.Test | ||
|
@@ -35,10 +35,10 @@ class Samples { | |
|
||
database.writeTransaction("customers") { | ||
val store = objectStore("customers") | ||
store.add(jsObject<Customer> { ssn = "333-33-3333"; name = "Alice"; age = 33; email = "[email protected]" }) | ||
store.add(jsObject<Customer> { ssn = "444-44-4444"; name = "Bill"; age = 35; email = "[email protected]" }) | ||
store.add(jsObject<Customer> { ssn = "555-55-5555"; name = "Charlie"; age = 29; email = "[email protected]" }) | ||
store.add(jsObject<Customer> { ssn = "666-66-6666"; name = "Donna"; age = 31; email = "[email protected]" }) | ||
store.add(jso<Customer> { ssn = "333-33-3333"; name = "Alice"; age = 33; email = "[email protected]" }) | ||
store.add(jso<Customer> { ssn = "444-44-4444"; name = "Bill"; age = 35; email = "[email protected]" }) | ||
store.add(jso<Customer> { ssn = "555-55-5555"; name = "Charlie"; age = 29; email = "[email protected]" }) | ||
store.add(jso<Customer> { ssn = "666-66-6666"; name = "Donna"; age = 31; email = "[email protected]" }) | ||
} | ||
|
||
val bill = database.transaction("customers") { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters