Is there a method on where I can save the current ...
# orm-help
d
Is there a method on where I can save the current state (data) of my db (like postgresql SAVEDPOINT), then make some queries and mutatiosns and finally rollback to that savedpoint. This would be very handy in E2E tests so I can I always start with the same state of data between tests. Is there a way people is doing this with prisma?
n
Hey Demian 👋 There isn’t any inbuilt native method that would allow storing current state of data. Perhaps you could create a Feature Request for this and let us know your use case. However, Save Point can still be used in transactions through Raw Query