title: In Typeorm, how do you find filter for records with array relation length > 0
body: <p>I have an entity like this</p>
  <pre class="lang-js prettyprint-override"><code>@Entity()
  export class Order {
    @PrimaryGeneratedColumn('increment')
    id: number;
  
    @OneToMany(() =&gt; Transaction, (t) =&gt; t.order, {
      cascade: true,
    })
    transactions: Transaction[];
  }
  </code></pre>
  <p>How do I use <code>find()</code> to search for all records with <code>transactions.length &gt; 0</code>?</p>
  <p>I prefer to use <code>find()</code> but if it is not possible should I use the query builder?</p>