Android Question Memory SQL database from downloaded stream?

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I have a SQL database on Firebase and would like to download it into a memory sql database.

Currently I download the file and open and delete it.
But would like to remove this security problem.

Is there a way to create a memory database from a stream (stream is a sql database)?

Can I take the stream and pass a reference to it to the memory sql?

BobVal
 
I'm using FirebaseStorage DownloadFile, (was going to convert to DownloadStream to try and avoid having the file go to temporary file storage), but I guess that won't work assuming it does the same as HttpJob
 
Upvote 0
Back
Top