Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/appwrite/mod.ts>Databases#createRelationshipAttribute

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Databases.prototype.createRelationshipAttribute
Re-export
import { Databases } from "https://deno.land/x/appwrite@8.0.1/mod.ts";

Create Relationship Attribute

Create relationship attribute. Learn more about relationship attributes.

Parameters

databaseId: string
collectionId: string
relatedCollectionId: string
type: string
optional
twoWay: boolean
optional
key: string
optional
twoWayKey: string
optional
onDelete: string