zillow-oc/sequelize — pull request #10 by mbroadst (2014-11-18 03:02:14+00:00)
Title: unify selectQuery between abstract and mssql dialects

This brings us almost completely in line with the abstract dialect's selectQuery, meaning we can hopefully move towards making the mssql dialect more of a "proper" sequelize dialect. The only things amiss are an added model to the options (for limit and ordering purposes), and subquery include.where generation (which should be done using selectQuery itself instead of hand crafting the query and using sequelize.asIs). Baby steps.