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

x/appwrite/src/services/database.ts>Database#createIntegerAttribute

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

Create Integer Attribute

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

Parameters

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

Returns

Promise<Models.AttributeInteger>