We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current implementation of filtersToKnex apparently converts null to 0, which isn't accurate. This prevents to lookup records by absent values.
filtersToKnex
null
0
Object.keys(filters).forEach(key => { let value = filters[key]; const operator = getOperator(filters[key]) || "="; if (value.substring(value.indexOf(":") + 1)) { value = value.substring(value.indexOf(":") + 1); } value = value !== "null" ? value : 0; processedFilters.push({ value, operator, column: camelize(key) });
The text was updated successfully, but these errors were encountered:
joelalejandro
No branches or pull requests
The current implementation of
filtersToKnex
apparently convertsnull
to0
, which isn't accurate. This prevents to lookup records by absent values.The text was updated successfully, but these errors were encountered: