This question is locked. New answers and comments are not allowed.
I have status field that can be of the following values:
1 - draft, 2 - sent, 3 - error
How can I get filtered list of fields with 1&3 values?
f.e.:
docid|status
1 | 2
2 | 1
3 | 2
4 | 3
filter:
.Filterable(filtering => filtering.Filters(filters => {
filters.Add(o => o.Status).IsEqualTo(1).Or().IsEqualTo(3);
}}
result:
docid|status
2 | 1
4 | 3
1 - draft, 2 - sent, 3 - error
How can I get filtered list of fields with 1&3 values?
f.e.:
docid|status
1 | 2
2 | 1
3 | 2
4 | 3
filter:
.Filterable(filtering => filtering.Filters(filters => {
filters.Add(o => o.Status).IsEqualTo(1).Or().IsEqualTo(3);
}}
result:
docid|status
2 | 1
4 | 3