Replies: 4 comments 1 reply
-
always returns the number of all comments. But there is not postID field. |
Beta Was this translation helpful? Give feedback.
-
like this:
more: |
Beta Was this translation helpful? Give feedback.
-
Hi @idc77 , |
Beta Was this translation helpful? Give feedback.
-
Hi. Yes you're on the right path: keep in mind surrealql is flexible, so you can do:
|
Beta Was this translation helpful? Give feedback.
-
I'm asking again.
There's a blog with posts and comment
I'd like to know the comment count when querying posts that belong to a blog.
How do I define the schema?
How do I query for the posts of a blog and have the comment count returned in the posts query?
Beta Was this translation helpful? Give feedback.
All reactions