# Complex Localdata To Datatable

Converts complex query results to a DataTable.


---

### :arrow_left:**INPUT**

| Parameter | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `Query`   | `String` | ✅Yes     | Query to run |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsComplexLocalDataToDataTableSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `ComplexLocalDataToDataTableMessage` | `String` | Returns the error information received if the operation fails. |
| `ComplexLocalDataToDataTableResult` | `DataTable` | Collection data produced by the operation. |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Throw exception on error (default: No) |