New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

skipper-sql

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skipper-sql

stream files to sql server

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Work in progress.

Allows upload of files from skipper/sails into MSSQL. This requires a table with a varbinary(max) column and a primary key (Which may be over any number of fields). Optionally, other fields may be inserted as well. Example usage:

req.file('avatar').upload({
    adapter:require('skipper-sql'),
    config:sails.config.connections.MySqlServer, //this is the server defined in connections
    parameters:{myField1:value1, myField2:value2}, //optional values to insert into same row as file
    fileField:'myAttachment', //required: name of column which holds the file (type of varbinary(max))
    sqlTable:'myTable', //required: name of table which holds the attachments
    callback:myFunction //optional callback after finished reading the file
});

FAQs

Package last updated on 13 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts