hi guys, I've a question. Im a bit noob on exposed...
# exposed
j
hi guys, I've a question. Im a bit noob on exposed, I can see 'deleteWhere' returns Int. How can I know the result of the operation? 1(or itemId)-> deleted, 0-> not found?
I've tested it with Postman and it looks like 1-> deleted, 0 -> not deleted
t
Should return count of deleted rows.
😲 1
j
thanks!
f
I like it when a dev says that one of their features should do something 😄
j
At least he is right, tested with Postman 😙
t
It should because it depends on jdbc driver implementation. There are much cases when driver didn't follow the jdbc spec.