SQL generation for JavaScript.