Durable Object Storage
This is so much clearer!! Would it be possible to maybe clarify the same for durable objects sql api? I’ve been trying to figure out if sql methods protect against sql injection
https://developers.cloudflare.com/durable-objects/api/storage-api/#returns
Cloudflare Docs
Durable Object Storage
The Durable Object Storage API allows Durable Objects to access transactional and strongly consistent storage. A Durable Object's attached storage is private to its unique instance and cannot be accessed by other objects.
1 Reply
Thanks! Let me look into it
So I can clarify - what prevents a sql injection attack is the act of binding parameters (doesn't necessarily have to be binding to a prepared statement).
DO supports binding parameters to statements - and this will prevent sql injection.