I want to filter ~liked user who follows an author of posts.
{
q(func: has(post_id)){
post_id
~authored{
follower as follows
}
~liked @filter(uid(follower)) {
user_id
}
}
}
but I got
{
"data": {
"q": [
{
"post_id": "post_01"
}, ...
]
},
"extensions": {
"server_latency": {
"parsing_ns": 45547,
"processing_ns": 6163104,
"encoding_ns": 570999,
"assign_timestamp_ns": 572197,
"total_ns": 7445194
},
"txn": {
"start_ts": 63330
},
"metrics": {
"num_uids": {
"": 24,
"_total": 920,
"follows": 32,
"post_id": 288,
"user_id": 0,
"~authored": 288,
"~liked": 288
}
}
}
}
how can I get the number of user who like a post and also follows the author?