We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drizzle-orm
0.30.10
drizzle-kit
The documentation says I can run db.execute(....)
db.execute(....)
https://orm.drizzle.team/docs/sql#sql-template
But I get "db.execute is not a function"
I can use db.select(). And I can use execute() at the end of a select chain. I just can't use a raw execute
db.select()
execute()
Am trying to run this on D1 to get a list of tables: await db.execute(sql'PRAGMA table_list');
await db.execute(sql'PRAGMA table_list');
(note:with back ticks)
Was expecting db.execute() to be available, as in documentation
db.execute()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of
drizzle-orm
are you using?0.30.10
What version of
drizzle-kit
are you using?0.30.10
Describe the Bug
The documentation says I can run
db.execute(....)
https://orm.drizzle.team/docs/sql#sql-template
But I get "db.execute is not a function"
I can use
db.select()
. And I can useexecute()
at the end of a select chain. I just can't use a raw executeAm trying to run this on D1 to get a list of tables:
await db.execute(sql'PRAGMA table_list');
(note:with back ticks)
Expected behavior
Was expecting
db.execute()
to be available, as in documentationThe text was updated successfully, but these errors were encountered: