- Target : Javascript (NodeJS + Browser)
- Library : aqb
- Last tested version : 2.1.0
- Available on : Github - NPM
import js.aqb.*;
class Main
{
static function main()
{
var qb = Aqb.qb();
var query = Aqb
.for_('x')
.in_('1..5')
.return_(Aqb.add('x', Aqb.int(1)))
;
}
}
A lot of AQB methods use Haxe keywords as their name (eg: in
, if
, for
,...).
To use them, you only have to suffix them with an underscore _
.