tables_db_create_point_column
Add a geographic point column to store location coordinates in Appwrite database tables. Specify longitude and latitude values for mapping and spatial data applications.
Instructions
Create a geometric point column.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| table_id | Yes | Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). | |
| key | Yes | Column Key. | |
| required | Yes | Is column required? | |
| default | No | Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required. |