Skip to main content
Module

x/appwrite/mod.ts>Databases#updateEnumAttribute

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

Update enum attribute

Update an enum attribute. Changing the default value will not update already existing documents.

Parameters

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