title: typeORM, NestJS, NodeJS
body: <pre><code> @Transactional()
  async execute({
      where: {
          airWaybill,
          branchId,
          categoryId,
          // countryId,
          // createdAtDateRangeWhereInput,
          // customerCode,
          // customerId,
          // invoicePriceUpdated,
          // packageNumber,
          // parcelNumber,
          // paymentStatus,
          // regNumber,
          // shelfId,
          smartCustomStatus,
          status,
          //     storeTrackingNumber,
          //     trackingNumber,
      },
  }: ExportManifestCommand): Promise&lt;string&gt; {
      const packages = await this.dbContext.packages.find({
          where: {
              ...(airWaybill &amp;&amp; { airWaybill }),
              ...(branchId &amp;&amp; { customer: { branches:  } }),
              ...(categoryId &amp;&amp; { categoryId }),
              ...(status &amp;&amp; { status }),
              ...(smartCustomStatus &amp;&amp; { smartCustomStatus }),
          },
          relations: [
              'country',
              'country.currencies',
              'category',
              'customer',
              'customer.branches',
              'store',
              'customer.user',
              'customer.user.details',
          ],
      });
  </code></pre>
  <p>I have braches array in customers, How can I write where by using find options?
  I have braches array in customers, How can I write where by using find options?
  I have braches array in customers, How can I write where by using find options?</p>