Forum Discussion
OlivierS
11 years agoLithium Alumni (Retired)
PerBonomi the problem is you can't use the AND operator in the WHERE clause for the kudo resource ...
So it's either:
SELECT * FROM kudos WHERE message.id='187'
or:
SELECT * FROM kudos WHERE user.id = '2'
plus a loop in the results ...
I can't think of anything more straight forward. Maybe other will do ...