Can't find ``all`` option on join

In this example: https://orm.drizzle.team/docs/joins#many-to-one-example They use a .all(); at the end to get more than 1 joined element. I'm trying a very similar thing and there is no all function:
let orders = await database
.select()
.from(orderTable)
.orderBy(orderTable.orderPlaced)
.leftJoin(bidTable, eq(orderTable.bid, bidTable.id))
.leftJoin(orderAccessTable, eq(orderTable.id, orderAccessTable.orderId));
let orders = await database
.select()
.from(orderTable)
.orderBy(orderTable.orderPlaced)
.leftJoin(bidTable, eq(orderTable.bid, bidTable.id))
.leftJoin(orderAccessTable, eq(orderTable.id, orderAccessTable.orderId));
Drizzle ORM - Joins
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
1 Reply
Davis
Davis2w ago
Do you have solution on this?

Did you find this page helpful?