document
inline fun <T> Documents.document(key: String, noinline config: DocumentConfig.() -> Unit = {}): Document<T>(source)
Opens the Document at key on the default store, resolving the value type's serializer at the call site.
Throws
when key contains the reserved key separator.
inline fun <T> Collection.document(key: String, noinline config: DocumentConfig.() -> Unit = {}): Document<T>(source)
Opens the Document at key in this collection, resolving the value type's serializer at the call site and configured through config.
Throws
when key contains the reserved key separator.