Sounds good as well :)

mvh.
Jan Aagaard Meier
Tlf: 30 20 13 21


On Mon, Oct 14, 2013 at 11:58 PM, Daniel Durante
<notifications@github.com>wrote:

> In lib/dialects/abstract/query-generator.js:
>
> > @@ -279,7 +279,7 @@ module.exports = (function() {
> >          return this.quoteIdentifiers(obj, force)
> >        } else if (Array.isArray(obj)) {
> >          return this.quote(obj[0], force) + ' ' + obj[1]
> > -      } else if (obj instanceof Utils.fn || obj instanceof Utils.col) {
> > +      } else if (obj instanceof Utils.fn || obj instanceof Utils.col || obj instanceof Utils.literal || obj instanceof Utils.cast) {
>
> Tbh, we could just make another utils function like:
>
> Utils.internalFn: function(obj) {
>  return (.. || .. || ..);}
>
> It'll do the same thing just keep things nicer/tidier :) thoughts?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sequelize/sequelize/pull/950/files#r6957127>
> .
>