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

x/appwrite/src/services/databases.ts>Databases#createIntegerAttribute

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Databases.prototype.createIntegerAttribute
import { Databases } from "https://deno.land/x/appwrite@9.1.0/src/services/databases.ts";

Create integer attribute

Create an integer attribute. Optionally, minimum and maximum values can be provided.

Parameters

databaseId: string
collectionId: string
key: string
required: boolean
optional
min: number
optional
max: number
optional
xdefault: number
optional
array: boolean

Returns

Promise<Models.AttributeInteger>