Hi all, quick question about transactions. Is it ...
# orm-help
m
Hi all, quick question about transactions. Is it possible to run a transaction where we can get the ID of the newly created entity for the next query in a transaction? So the equivalent to the SQL of:
Copy code
SELECT SCOPE_IDENTITY()
r
@Moh 👋 Could you explain your use case for this? Prisma's create already returns the id of the newly created entity so are you performing a different operation?