Skip to content

Glossary: Next.js Beyond the Basics

.all(), .get() and .run()

Also written: .all(), .get(), .run()

Methods that finish a Drizzle query on SQLite. `.all()` returns every row, `.get()` returns the first row or `undefined`, and `.run()` is for queries that return no rows.

Where the book teaches it

Related terms

Drizzle ORMreturning()