Skip to content

Commit

Permalink
Merge pull request quarkusio#19637 from felipeformentin/kotlin_mongod…
Browse files Browse the repository at this point in the history
…b_documentation_fix

Documentation Fix: Changing Type to reflect Kotlin implementation
  • Loading branch information
loicmathieu authored 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
Original file line number Diff line number Diff line change
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.