Closed Twinbird24 closed 6 years ago
Hi, @Twinbird24
Try out this path: '.{.category === "feed" && !(.category === "repairs")}'
!(.category === "repairs")
means "where there's no any category is equal to repairs", unlike .category !== "repairs"
which means "where at least one category isn't equal to repairs
That behaviour has come from XPath.
That makes sense, thank you!
Given a data set like this:
How would I filter to get all objects in which category contains "feed" (which is simply
.category*="feed"
) AND also does not contain "repairs"? Something like.category*="feed"&&.category!*="repairs"
(which isn't valid) or.category*="feed"&&.category!="repairs"
(but this still returns both objects above).Is this something that is possible?