Storing file in MS SQL
I am using loopback-component-storage to upload file to file system.
I wants to store the files directly into MS SQL database.
Please let me know how can I achieve it.
@spatrame https://www.npmjs.com/package/loopback-connector-mssql#sql-server-to-loopback-types https://nodejs.org/docs/latest/api/fs.html#fs_fs_readfile_path_options_callback
fs.readFile to Buffer and store it as MS SQL Binary type? If no encoding is specified, then the raw buffer is returned.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.