[crnk-jpa] filter by null value
See original GitHub issueWhat is the best practice to filter a field by NULL
?
In my tables there are plenty of fields with a NULL
value. I’d like to request a resource with filter[lastEdited] = NULL` . Is there any way to do so?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Crnk Documentation
Enforces a 404 response should a repository return a null value. This is common practice, but not strictly mandated by the JSON:API ...
Read more >Filtering null values in JPQL - Stack Overflow
I think the SQL should be @Query("SELECT c FROM Product c WHERE 1=1 " + " or (:name is null or c.name =...
Read more >crnk-io/Lobby - Gitter
in general that all seems independent of crnk on the JPA/DB layer. ... When the Id field is null, the self link generated...
Read more >Creating REST with CRNK, Part 2 - Medium
The parameter is JpaModuleConfig which let you configure the CRNK ... The filter above doesn't do anything more than checking the value that ......
Read more >Spring Data JPA and Null Parameters - Baeldung
In some cases, when we search for records by parameters, we want to find rows with null as the field value. Other times,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes, we can also just get started with that null.
😍