Skip to content

mysqljs/sqlstring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlstring

NPM Version NPM Downloads Node.js Version Build Status Coverage Status

Simple SQL escape and format for MySQL

Install

$ npm install sqlstring

Usage

var sqlstring = require('sqlstring');

sqlstring.format('SELECT * FROM user WHERE age = ? and gender = ?', [18, 'female']);
// "SELECT * FROM user WHERE age = 18 and gender = 'female'"

License

MIT

About

Simple SQL escape and format for MySQL

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 9