You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constorm=drizzle<typeofschema>(useDatabase())constuser=orm.query.users.findFirst()// 'users' is undefined here
Let's use query builder then to query user
const[user]=orm.select.from(tables.user).limit(1)user.createdAt// typescript says it exists, but in reality it doesn't and returns 'created_at' as an integer only
So whether you would like to use ORM or query builder it's not working unfortunately.
The text was updated successfully, but these errors were encountered:
Environment
Latest Nuxt
Reproduction
n/a
Describe the bug
Hi there,
Two things related to Drizzle integration.
Say I have a user schema/table:
Now, I want to query it:
Let's use query builder then to query user
So whether you would like to use ORM or query builder it's not working unfortunately.
The text was updated successfully, but these errors were encountered: