Sorting KeystoneJS results by the count of a relationship field

后端 未结 0 785
悲&欢浪女
悲&欢浪女 2021-01-08 00:33

Based on the docs, a one-to-many relationship can be configured as follows:

keystone.createList(\'User\', {
  fields: {
    name: { type: Text },
    posts: {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题