Date: Tuesday, July 02, 2019 8:40 AM
OK; especially since it's my idea, I volunteer to create the API, and code an implementation.
You are welcome.
My last ideas:
- validating individual key operation as they happen in okvs-set! maybe okvs-delete!
Definitely both, and potentially beyond validating, to for example implement cascading deletes if the schema demands that.
- validating whole transactions
I haven't yet figured out anything we can do beside follow the SQL RDBMS model.
Note this is implemented by full fledged stored procedures, they'll need to be handed the transaction handle because they can and may need to do arbitrary database operations. This has implementation implications for the 'no-transaction concept, it could turn what appears to be a single operation into multiple ones that all need to be wrapped in the same transaction.