My database is RDBMS, but i want to store uploaded file in a Key/Value
storage(NoSQL). How can I intervene to web2py's store/retrieve process?
I want temporarily store uploaded file in memory, then call my API to put
this in-memory file to my Key/Value storage.
When I put this in-memory file(Value) to Key/Value storage, i will get back
a auto-gen Key from it, then save this Key to RDBMS
(*Field('file','upload') will store this Key instead of
modified-uploaded-filename-on-disk *)

When user want download this "blob", i will get Key from RDBMS, then query
Key/Value storage to get file(Value) and streaming back to user.

Can you have me figure out the way to intervene in store/retrieve/stream/..
process?
Thanks a lot!

Reply via email to