Pagelang
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 t1.id = t2.id set t1.value = 100;
$ pager -t table -e "}}}))))@value:100@"
Option
You can pass options in initializing Pagelang like:
var pager = db: host: 'localhost' user: 'foo' password: 'bar' database: 'my_db' ;
By default, Pagelang uses options below:
;