Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Databases#createRelationshipAttribute

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

Create relationship attribute

Create relationship attribute. Learn more about relationship attributes.

Parameters

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