We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc362da commit 5212f81Copy full SHA for 5212f81
drizzle-orm/app/routes/_index.tsx
@@ -22,7 +22,7 @@ export async function action({ request }: ActionArgs) {
22
}
23
24
export async function loader() {
25
- const rowsQuery = db.select().from(example);
+ const rowsQuery = db.query.example.findMany();
26
27
const lastUpdatedQuery = db
28
.select({ updated: sql<string>`MAX(created_at)` })
0 commit comments