Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
value class DocumentId(val value: String)

A replacement for MongoDB's ObjectId class that does not depend on any MongoDB libraries.

Link copied to clipboard
expect object DocumentIdSerializer : KSerializer<DocumentId>

A simple string serializer for DocumentId. When used with MongoDB, automatically transforms to an ObjectId.

actual object DocumentIdSerializer : KSerializer<DocumentId>
actual object DocumentIdSerializer : KSerializer<DocumentId>
Link copied to clipboard
interface DocumentIdSerializerProvider : KSerializer<DocumentId>

Functions

Link copied to clipboard
fun loadSerializer(): KSerializer<DocumentId>