Best way to know if CrudRepository.deleteById
deleted something
#1535
Answered
by
dstepanov
KarlHakanNordgren
asked this question in
Q&A
-
Hi All! If there is no record with
|
Beta Was this translation helpful? Give feedback.
Answered by
dstepanov
May 18, 2022
Replies: 2 comments 10 replies
-
You can create an alternative method |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
KarlHakanNordgren
-
Thank you but I am facing the same issue:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can create an alternative method
Long removeById(Id)
and it will return the number of records deleted.