swati
swati

Reputation: 1283

Realm Query in multiple table

I have two tables in Realm database. User table has a column "Tag" and Detail table has a column "description". I want to perform a search in a way that when user type something, it should get searched first in user table and then in detail table and then show the combined result. Thanks in advance!!

Upvotes: 2

Views: 6360

Answers (1)

geisshirt
geisshirt

Reputation: 2497

You cannot combine the result of two queries. Instead your data model should use relationships.

Upvotes: 3

Related Questions