0.21.0 • Published 5 months ago

pg-wiz v0.21.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

pg-wiz

Simple SQL helper to use with pg. Not an ORM.

You still write SQL because it's good to learn and know. You can't paper over something so important.

This packages has two parts to it, it helps you:

  1. define and create your SQL
  2. manipulate the returns rows into something better

Synopsis

import * as pgWiz from 'pg-wiz'

const acc = new pgWiz.Table('account', 'acc')
acc.setCols('id', 'email', 'username')

console.log(acc.selCols())
// -> acc.id AS acc__id, acc.email AS acc__email, acc.username AS acc__username

License

ISC.

(Ends)

0.21.0

5 months ago

0.20.0

7 months ago

0.9.0

7 months ago

0.8.0

7 months ago

0.7.0

7 months ago

0.6.2

7 months ago

0.6.1

7 months ago

0.6.0

7 months ago

0.5.0

7 months ago

0.4.1

7 months ago

0.4.0

7 months ago

0.3.0

7 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.1.0

7 months ago