batchAccessMode

fun batchAccessMode(dataIds: List<String>, allowMissingData: Boolean = false, unwrapValuesToList: Boolean = false): AccessModeSchema.Batch

Reads (or writes) a specific set of keys from the data source, returned as a map keyed by dataIds.

Parameters

dataIds

Keys to read/write.

allowMissingData

Whether a missing key is silently skipped instead of failing the read. Defaults to false.

unwrapValuesToList

Whether each value is unwrapped into a flat list instead of kept as-is (useful when every value is itself a single-element collection). Defaults to false.