with
db.query.myTable.findMany({ where: inArray(otherTable.id, [1,2]), with: { otherTable: true, } })