Extending Squel.js

I have started using Squel.js for an application that I am developing. The application uses an already existing and rather old SQL Anywhere database, which Squel.js does not support out-of-box. However, the queries in my application are simple enough that Squel.js is working just fine, except for…