diff --git a/docs/src/main/asciidoc/mongodb-panache-kotlin.adoc b/docs/src/main/asciidoc/mongodb-panache-kotlin.adoc index a026f4e17123b..66df23e1c3c90 100644 --- a/docs/src/main/asciidoc/mongodb-panache-kotlin.adoc +++ b/docs/src/main/asciidoc/mongodb-panache-kotlin.adoc @@ -35,7 +35,7 @@ https://kotlinlang.org/docs/tutorials/kotlin-for-py/objects-and-companion-object [source,kotlin] ---- class Person : PanacheMongoEntity() { - companion object: PanacheCompanion { // <1> + companion object: PanacheMongoCompanion { // <1> fun findByName(name: String) = find("name", name).firstResult() fun findAlive() = list("status", Status.Alive) fun deleteStefs() = delete("name", "Stef")