Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Apr 15, 2015
1 parent dc2294c commit 6f497ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ Connection.createQuery = function(sql, values, cb) {
return sql;
}

if (typeof sql === 'function') {
return new Query({}, bindToCurrentDomain(cb));
}

var options = {};

if (typeof sql === 'object') {
Expand Down

0 comments on commit 6f497ed

Please sign in to comment.