zillow-oc/sequelize — pull request #6 by mbroadst (2014-11-14 03:59:08+00:00)
Title: fix find with nested include

You might want to pick this one apart a little bit more. I basically just copied this section back from the abstract dialect with the exception of keeping SELECT TOP(1) (instead of LIMIT 1). It fixes the test though, and bring the code one step closer to the abstract dialect