node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



A Brainfuck-like Query Language for MySQL.

How to use

Pagelang provides a CLI tool, pager.

To SELECT * from table LIMIT 10, 5;

$ pager -t table -e "}}}}}}}}}})))))v"

To UPDATE table t1 JOIN (SELECT * from table LIMIT 3, 4) t2 ON = set t1.value = 100;

$ pager -t table -e "}}}))))@value:100@"


You can pass options in initializing Pagelang like:

var pager = new Pager({
  db: {
    host: 'localhost',
    user: 'foo',
    password: 'bar',
    database: 'my_db'  

By default, Pagelang uses options below:

  db: {
    host: 'localhost',
    user: 'root',
    password: '',
    database: 'pagelang'