Hello Alessandro,

Yes it correct, Thanks.

As per my first post, I also want to know if that user has liked the post 
or not ? so in return I want to return a flag for every post called 
hasloggedUserLikedThisPost as (true/false)


select _id as postId, title, in("UserLikes").size() as totalLikes from (
> select expand(out("UserPosts")) from User where _id="1") where 
> type="technical 
> post" 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to