thevahidal / soul

🕉 A SQLite REST and realtime server
https://thevahidal.github.io/soul/
MIT License
1.45k stars 50 forks source link

REST API transactions within TRANSACTION #133

Open IanMayo opened 11 months ago

IanMayo commented 11 months ago

Is your feature request related to a problem? Please describe. It would be useful if it was possible to include a series of REST modifications in a transaction.

Currently only SQL commands can be enclosed within a transaction.

Describe the solution you'd like The ability to provide a series of REST API calls within a transaction, such that if one modification fails they all are rejected.

Describe alternatives you've considered It is technically possible to reverse-engineer REST API calls to SQL Statements, particularly when the REST API is generated from the underlying tables.

Additional context Add any other context or screenshots about the feature request here.