sidorares / sidorares/node-mysql2
Stream interface for BLOB/CLOB column which stores too large object to load whole content into Buffer.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.4k
- Forks
- 680
- Avg merge
- 9h 7m
- Merged PRs (30d)
- 59
Description
In Java, there is a following interface to avoid loading whole BLOB content into memory.
https://docs.oracle.com/javase/8/docs/api/java/sql/Blob.html
I hope mysql2 has the similar stream API for really large object.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Java Blob interface linked in the issue and inspect mysql2's current handling of BLOB/CLOB values and any existing stream entry points. Define how a stream API should expose objects too large for a Buffer, including completion behavior and coverage for both BLOB and CLOB data. Done means an agreed API with tests demonstrating large-object streaming.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, nodejs, typescript
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100