0.0.1 • Published 10 years ago

squel-raw v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

squel-raw

This project is an extension to the squel library. Its only purpose is to add the functionality to squel to create raw sql-statements that can be used by the mod-mysql-postgresql vert.x-module directly.

To use this in your code you simply require squel-raw instead of squel.

var squel = require('squel-raw')
  .useFlavour(<flavorToUse>);

squel.select().from('table').toRaw();
// => { "action": "raw", "command": "SELECT * from table;" }
0.0.1

10 years ago