Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/mod.ts>Databases#createEnumAttribute

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

Create enum attribute

Create an enumeration attribute. The elements param acts as a white-list of accepted values for this attribute.

Parameters

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