We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 835a3c0 commit 16a15cbCopy full SHA for 16a15cb
packages/cubejs-query-orchestrator/driver/BaseDriver.js
@@ -32,7 +32,7 @@ const DbTypeValueMatcher = {
32
date: (v) => v instanceof Date || v.toString().match(/^\d\d\d\d-\d\d-\d\d$/),
33
int: (v) => Number.isInteger(v) || v.toString().match(/^\d+$/),
34
decimal: (v) => v instanceof Number || v.toString().match(/^\d+(\.\d+)?$/),
35
- boolean: (v) => v === false || v === true || v.toLowerCase() === 'true' || v.toLowerCase === 'false',
+ boolean: (v) => v === false || v === true || v.toString().toLowerCase() === 'true' || v.toString().toLowerCase() === 'false',
36
string: (v) => v.length < 256,
37
text: () => true
38
};
0 commit comments