Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charlesread/oracledb-clob2string
An example for how to easily make the result set of an oracledb (node) execution that contains LOBs contain strings instead of LOBs
https://github.com/charlesread/oracledb-clob2string
Last synced: about 2 months ago
JSON representation
An example for how to easily make the result set of an oracledb (node) execution that contains LOBs contain strings instead of LOBs
- Host: GitHub
- URL: https://github.com/charlesread/oracledb-clob2string
- Owner: charlesread
- Created: 2016-08-22T02:15:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-22T02:21:23.000Z (over 8 years ago)
- Last Synced: 2024-10-17T14:54:45.120Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
You know what pisses me off? Dealing with LOBs from the `oracledb` Node.js package.
_Makes use of the `co` package to make stuff wait on other stuff, so if you don't know about generators and promises check this [https://davidwalsh.name/async-generators] out first._
So here's an example of how to "stringify them". In effect, if a SQL result contains a LOB, let's convert it to a string and output the exact same result set, you know, except for the LOB being a string and all.