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

x/appwrite/mod.ts>Database#createEnumAttribute

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

Create Enum Attribute

Parameters

collectionId: string
key: string
elements: string[]
required: boolean
optional
xdefault: string
optional
array: boolean