Feature request: Allow `$queryRaw` and `$executeRaw` in transactions
See original GitHub issueAs of today, it’s not possible yet, to do the following:
await prisma.$transaction([ prisma.$queryRaw`SELECT 1` ])
This is a feature request to both allow $queryRaw
and $executeRaw
being executed in a transaction.
If you have this use-case, please let us know in this issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Raw database access (Reference) - Prisma
For relational databases, Prisma Client exposes four methods that allow you to send raw queries. You can use: $queryRaw to return actual records...
Read more >SQL Queries - EF Core - Microsoft Learn
Entity Framework Core allows you to drop down to SQL queries when working with a relational database. SQL queries are useful if the...
Read more >Raw SQL Query without DbSet - Entity Framework Core
This will allow you to execute raw SQL and get the raw results without having to define a POCO and a DBSet. See...
Read more >How to Execute Raw SQL in SQLAlchemy - GeeksforGeeks
In this article, we will see how to write a Conventional SQL query in SQLAlchemy using text() against a PostgreSQL database in python....
Read more >Dao (ORMLite Core 6.1 API)
Like queryBuilder() but allows you to build an DELETE statement. ... Return a row mapper that is suitable for use with queryRaw(String, RawRowMapper, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This will be possible with the upcoming 2.10 release.
My use case is for locks and queries that are not yet supported. Currently I don’t have a way to get an advisory lock.