I’m using the Kotlin SDK for realm. In the docs it mentions that
// Find all frogs with “muppet-” and “rain-” in the physical description
val muppetsInTheRain =
realm.query(“physicalDescription TEXT $0”, “muppet* rain*”).find()
However it does not document a way to search for "muppet* Or rain*
You can do that using an OR operator in the query. For example:
// Find all frogs with “muppet-” and “rain-” in the physical description
val muppetsInTheRain =
realm.query(“physicalDescription TEXT $0 OR physicalDescription TEXT $1", "muppet*", "rain*").find()
Let me know if that helps! And there’s more info on how to construct queries on the Realm Query Language (RQL) page.