> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lyzn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LyznDB Query

> Execute SQL SELECT queries on your personal database

# LyznDB Query

Execute SQL SELECT queries on your personal database

## Properties

| Property   | Value        |
| ---------- | ------------ |
| **Type**   | lyzndb-query |
| **Family** | Actions      |
| **Group**  | Database     |

## Parameters

| Name       | Label            | Type | Description                                    | Required |
| ---------- | ---------------- | ---- | ---------------------------------------------- | -------- |
| query      | SQL Query        | Code | SELECT query to execute (use ? for parameters) | Yes      |
| parameters | Query Parameters | JSON | Array of parameters for the query              | No       |

## Outputs

| Name     | Label    | Type   | Description             |
| -------- | -------- | ------ | ----------------------- |
| columns  | columns  | array  | Column names            |
| rows     | rows     | array  | Query result rows       |
| rowCount | rowCount | number | Number of rows returned |
