hayata
5 years agoAce
Additional subscription fields in LiQL.
I need to get a list of subscription for a user. I am using the below query.
SELECT target,target.id,target.subject,target.board.title,target.post_time,target.last_post_time,target.user_context.read,target.view_href FROM subscriptions WHERE target.type='conversation'
I guessed as some of the fields. The following are not returning values:
- target.subject
- target.post_time
- target.user_context.read
Could someone advise if the data is available and what the correct names are?
My alternative is to get a list of message Id's and then query messages object, but it adds execution time.