question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The filters doesn't work when the column contains null values

See original GitHub issue

Example of data

[ { id: 1, data: 'test' }, { id: 2, data: null }, { id: 3, data: 'test 2' } ]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jfremycommented, Jun 2, 2016

Hi guys, returning false for the filtering on null value might be too strong. It means you cannot filter in the values that are null. What do you think about rather replacing null with the empty string, that way, there would still be way to write a filter that includes those lines (like the Regex filter)

0reactions
AllenFangcommented, Jun 2, 2016

#443, actually, I cant reproduce this issue. so just pending it… BTW, thanks @jfremy

Read more comments on GitHub >

github_iconTop Results From Across the Web

The filters doesn't work when the column contains null values
Hi Allen, There are some objects where there are null values and this is the error i get on searching that particular field....
Read more >
Object filter not working beacuse of null value in column
The below snippet work fine when no null value, but in case of null value in column it's not working. Here is StackBlitz...
Read more >
Filter Query ne null doesnt work - Power Platform Community
Solved: I'm building a flow that pulls a spreadsheet into a list. However I cannot guarentee that the source spreadsheet (table) WON'T contain...
Read more >
Issue with filtering columns with NULL values. - Infragistics
I have a grid that has filtering enabled. It works great on most columns, but if the column has a NULL value anywhere, ......
Read more >
How to Filter Rows without NULL in a column | LearnSQL.com
To display records without NULL in a column, use the operator IS NOT NULL. You only need the name of the column (or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found