Streaming blobs?
See original GitHub issueHi, im storing some jsons in a database, since they are not worth normalizing. Now its a TEXT, but I was wondering if storing them as BLOB would be better, but then I noticed
override fun <T : Any> all(mapper: (id: String, body: ByteArray?) -> T): Query<T> =
i.e. the bytearray is already in memory so its a moot point. Is it possible to have it streamed somehow so I can leverage moshi’ streaming capability?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Blob.stream() - Web APIs - MDN Web Docs
The Blob interface's stream() method returns a ReadableStream which upon reading returns the data contained within the Blob . Syntax. stream()
Read more >Understanding blob url video streaming - javascript
My question is how does this process, of streaming video through a blob url, work? javascript · video-streaming · blob · bloburls ·...
Read more >blob-stream | Yarn - Package Manager
A Node-style writable stream for HTML5 Blobs, mostly useful in Browserify. Allows you to take the output of any Node stream, and turn...
Read more >devongovett/blob-stream: A Node-style writable ... - GitHub
A Node-style writable stream for HTML5 Blobs, mostly useful in Browserify. Allows you to take the output of any Node stream, and turn...
Read more >Streaming large blobs through ASP.NET | ticehurst.com
Our service fetches a blob from Azure Blob Storage and pipes it back to the client. How should this work? Streaming Azure Blob...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is actually something I’ve been looking for. The AndroidSqliteDriver is a no go for this, but would it be possible to leverage the current NativeSqliteDriver (sqliter) to expose https://sqlite.org/c3ref/blob_read.html and use the NativeSqliteDriver on Android targets? Not quite sure about the current Android support on NativeSqliteDriver though.
yea and in addition to that we’d have to add those apis to the sqldelight runtime. Seems like a lot of effort, though I could see it being important to support at some point