tables_db_create_row
Add a new data entry to an existing Appwrite database table by specifying database ID, table ID, row ID, and JSON data.
Instructions
Create a new Row. Before using this route, you should create a new table resource using either a server integration API or directly from your database console.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| table_id | Yes | Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). Make sure to define columns before creating rows. | |
| row_id | Yes | Row ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars. | |
| data | Yes | Row data as JSON object. | |
| permissions | No | An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions). | |
| transaction_id | No | Transaction ID for staging the operation. |