Building SQL Querystrings With JavaScript: Squel.js

Sometimes, we don’t know how our SQL query will look like exactly as there are times that the query needs to be created dynamically.

Or, you may just be looking for a solution that will make SQL queries more readable.

Squel.js

Squel.js, a lightweight JavaScript library, helps building SQL query strings very easily through an object oriented API.

It works both on the browser (not advised as the queries will be visible to all) + with nodejs and supports all standard SQL queries (can be customized to support non-standard queries).

Search