我无法在amplify / graphQL中找到任何有关此目的的文档,
这是为什么:
@connection(keyName: "bySeason", fields: ["id"])`
与
有什么不同@connection(keyName: "bySeason")
type League @model
{
id: ID!
name: String!
seasons: [Season] @connection(keyName: "bySeason", fields: ["id"])
}