squel-raw

0.0.1 • Public • Published

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;" }

Package Sidebar

Install

npm i squel-raw

Weekly Downloads

7

Version

0.0.1

License

MIT

Last publish

Collaborators

  • levelbossmike