Skip to content

Commit

Permalink
Merge pull request #19637 from felipeformentin/kotlin_mongodb_documen…
Browse files Browse the repository at this point in the history
…tation_fix

Documentation Fix: Changing Type to reflect Kotlin implementation
  • Loading branch information
loicmathieu committed Aug 25, 2021
2 parents bb17e4d + 4b9f5ab commit 9fc6d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/mongodb-panache-kotlin.adoc
Expand Up @@ -35,7 +35,7 @@ https://kotlinlang.org/docs/tutorials/kotlin-for-py/objects-and-companion-object
[source,kotlin]
----
class Person : PanacheMongoEntity() {
companion object: PanacheCompanion<Person> { // <1>
companion object: PanacheMongoCompanion<Person> { // <1>
fun findByName(name: String) = find("name", name).firstResult()
fun findAlive() = list("status", Status.Alive)
fun deleteStefs() = delete("name", "Stef")
Expand Down

0 comments on commit 9fc6d6d

Please sign in to comment.