commonMain.maryk.test.requests.collectRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maryk-testmodels Show documentation
Show all versions of maryk-testmodels Show documentation
Maryk is a Kotlin Multiplatform library which helps you to store, query and send data in a structured way over multiple platforms. The data store stores any value with a version, so it is possible to request only the changed data or live listen for updates.
The newest version!
package maryk.test.requests
import maryk.core.models.key
import maryk.core.query.requests.CollectRequest
import maryk.core.query.requests.get
import maryk.test.models.SimpleMarykModel
val collectRequest = CollectRequest(
"testName",
SimpleMarykModel.get(
SimpleMarykModel.key("dR9gVdRcSPw2molM1AiOng"),
SimpleMarykModel.key("Vc4WgX_mQHYCSEoLtfLSUQ")
)
)