Skip to content

Commit 21de079

Browse files
committed
Exports orm.Text to pass text strings to aggregate functions
This allows people to pass parameters as text instead of being considered property names
1 parent fabb0f4 commit 21de079

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ORM.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ exports.Settings = Settings;
1919
exports.Property = require("./Property");
2020
exports.ErrorCodes = ErrorCodes;
2121

22+
exports.Text = Query.Text;
2223
for (var k in Query.Comparators) {
2324
exports[Query.Comparators[k]] = Query[Query.Comparators[k]];
2425
}

0 commit comments

Comments
 (0)