mirror of
https://github.com/appwrite/appwrite
synced 2026-04-28 00:47:50 +00:00
595 B
595 B
import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts";
const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
const tablesDB = new TablesDB(client);
const response = await tablesDB.createFloatColumn({ databaseId: '<DATABASE_ID>', tableId: '<TABLE_ID>', key: '', required: false, min: null, // optional max: null, // optional default: null, // optional array: false // optional });