Where clauses across multiple tables in relational queries

Is is possible to specify a where condition in a relational query that includes conditions from the primary table and one or more relations?

e.g.
{
  ...
  where: or(like(purchaseOrder.po,'%xxx%'), like(product.name, '%xxx%')),
}
Was this page helpful?