> For the complete documentation index, see [llms.txt](https://docs.floui.io/guia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.floui.io/guia/conectores/categorias/manipulacao-de-dados/sqlite-3/sqlite3-query.md).

# SQLite3 Query

Executa uma query em um banco de dados SQLite3 no storage do Workspace e retorna os dados de resultado.

{% tabs %}
{% tab title="Parâmetros" %}
![Parâmetros de configuração](https://215079342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F226k0cnPTn1PWu9xHcK8%2Fuploads%2FfHQwJgvDpPGqBqkyQTNH%2F16.png?alt=media)

<table><thead><tr><th width="202">Campo</th><th width="129.66666666666666">Tipo</th><th>Descrição</th></tr></thead><tbody><tr><td>Descrição</td><td>Campo de texto</td><td>Elemento visual usado para descrever a funcionalidade do conector dentro do fluxo.</td></tr><tr><td>Localização do arquivo </td><td>Campo de texto</td><td>Localização do arquivo, no Storage interno do Workspace, onde será realizada a instrução.</td></tr><tr><td>Query SQL </td><td>Campo de texto</td><td>Campo para construção da consulta em banco de dados SQLite 3.</td></tr><tr><td>Output path</td><td>Campo de texto</td><td>Refere-se ao caminho do resultado da execução na saída do conector no contexto de execução do fluxo</td></tr></tbody></table>
{% endtab %}

{% tab title="Payload" %}

## Sucesso

Por padrão, o conector irá retornar uma lista com todos os registros da consulta em casos de sucesso.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcpPVx7rpmabzqbsCsMcSJehBYfga5mgLudlE40wySRFxPdmoxKNjcWPWjtsBnGRoDsDplzhI9wgwKn4smRSV0SSUl1pS8O-d-oM1IIZgQ0-lIDFZ-oN703fPZetBQ6hpDE7q8P?key=yLogrgEbXy0K_a4zmB9ApgKO" alt=""><figcaption><p>Consulta de registros em banco de dados SQLite 3</p></figcaption></figure>

## Erro

Em casos de erro, o conector irá retornar um campo informando o motivo do erro da consulta da seguinte forma.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcXAQgIr-8pd67a30Fx77wxcwd_jc-lgAB9pD8P7V1mCf7SJ0gAfVszqZ1xVXnlBWgY0o3VxJG6Y_AZIDAxTXXsVs9OxSYh5NBJmatOWGNsBadwTGY6NzN7Fxtfn1VautGDlNVhDg?key=yLogrgEbXy0K_a4zmB9ApgKO" alt=""><figcaption><p>Erro na consulta de registros em banco de dados SQLite 3</p></figcaption></figure>

<br>
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.floui.io/guia/conectores/categorias/manipulacao-de-dados/sqlite-3/sqlite3-query.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
