# Database Create Row

> Create a new row in a database with the specified values.

- ID: `db_create_row`
- Type: Block
- Category: [Databases](https://inventor.bot/docs/reference/blocks/databases.md)

- Database columns are extra inputs/outputs named `dbcol_<column name>`.

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `database_id` | yes | Select the database to insert into. |  |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `row_id` | The unique ID of the created row. | e.g. `"abc123xyz"` |
| `row_json` | The created row as a JSON object, including system fields (__id, __created_at, __updated_at, __created_at_unix, __updated_at_unix). | e.g. `"{\"__id\":\"abc123\",\"name\":\"example\"}"` |

**Example**

```go
row := db_create_row(Args{database_id: "..."})
send_text_message(Args{channel_id: trigger.channel_id, message_content: "Row ID: " + row.row_id})
```