Create SQL queries programatically in Node.js. Loosely based on Rails' ActiveRelation.