You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI, i use keystone as a discuss community manager,and i need query posts and posts relative comments, and comments should be unique by it's author.
So i want distinct comment by author id field, and i find prima support it, see
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
HI, i use keystone as a discuss community manager,and i need query posts and posts relative comments, and comments should be unique by it's author.
So i want distinct comment by author id field, and i find prima support it, see
https://www.prisma.io/docs/orm/prisma-client/queries/aggregation-grouping-summarizing#distinct-under-the-hood
but keystone seem not support yes,
https://github.com/keystonejs/keystone/blob/f0716822f79499c1ab457ab639b1fd1974ce5071/packages/core/src/lib/core/queries/resolvers.ts#L132C33-L132C39
Will keystone support it, and i can create pr for this if necessary.
Beta Was this translation helpful? Give feedback.
All reactions