---
title: "db:insert — Insert row"
description: "iXML command db:insert: Insert row."
canonical_url: "https://www.zeyos.com/ixml/ref/db-insert"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/db-insert.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# db:insert — Insert row

DB:INSERT executes a SQL/DML insert statement that inserts a new row into a table within the database.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var | var |  | Result variable name for insert ID |
| var_data | var |  | Variable name for associated field name and value pairs |
| table | string |  | Table name |

### Children
- (none)

### Parents
- db:connection

### Result
- binding: var; type: int
