appwrite/docs/examples/1.8.x/server-deno/examples/tablesdb/create-point-column.md
2025-09-06 05:27:47 +12:00

522 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.createPointColumn({ databaseId: '<DATABASE_ID>', tableId: '<TABLE_ID>', key: '', required: false, default: 1,2], [3, 4 // optional });