mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
553 B
553 B
mutation { databasesCreateRelationshipAttribute( databaseId: "<DATABASE_ID>", collectionId: "<COLLECTION_ID>", relatedCollectionId: "<RELATED_COLLECTION_ID>", type: "oneToOne", twoWay: false, key: "", twoWayKey: "", onDelete: "cascade" ) { key type status error required array _createdAt _updatedAt relatedCollection relationType twoWay twoWayKey onDelete side } }