Forum Discussion

peterlu's avatar
peterlu
Champion
10 years ago

API v2 - fetch messages from certain groups of users by roles name

SELECT * FROM messages WHERE author.roles.name IN ('Administrator', 'BlogAuthor') It shows Syntax error. "'author.roles.name' is not a valid constraint for the object 'messages'.   Any ideas? And...