Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon
GNU General Public License v3.0
9.05k
stars
509
forks
source link
IN in combination with NULL #2694
Open
cappadaan opened 3 weeks ago
Proposal:
This currently does not work:
AND field IN (NULL, 'other', 'other2')
Gives: syntax error, unexpected NULL near 'NULL,
So we have to use
AND (field IS NULL OR field IN ( 'other', 'other2'))
Which is slow.
Request to add this functionality.
Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.