sequelize/sequelize — pull request #613 by janmeier (2013-05-11 20:26:00+00:00)
Title: Make it possible to specify query options for find and findAll (specifically raw: true)

This fixes #611

`find`, `all` and `findAll` now accept a second parameter of query options. The query options are added using `_.defaults`, which means that if the function already specifies an option, it will *not* be overwritten, so it should not be possible for users to muck things up.

Tests are added, that assert that when no options are passed, or when raw is false, a DAO / DAOs are returned to the callback, and if raw is true, a raw object / objects is returned.