Skip to content

Commit

Permalink
Exports orm.Text to pass text strings to aggregate functions
Browse files Browse the repository at this point in the history
This allows people to pass parameters as text instead of being
considered property names
  • Loading branch information
dresende committed Jul 5, 2013
1 parent fabb0f4 commit 21de079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ORM.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ exports.Settings = Settings;
exports.Property = require("./Property");
exports.ErrorCodes = ErrorCodes;

exports.Text = Query.Text;
for (var k in Query.Comparators) {
exports[Query.Comparators[k]] = Query[Query.Comparators[k]];
}
Expand Down

0 comments on commit 21de079

Please sign in to comment.