# Documentation: your query _Query type: general_ _Results: 5 chunks_ ## Create Query _Chunk: [lua/text/treesitter#create-query](https://wippy.ai/llm/chunk/lua/text/treesitter#create-query)_ _Page: [en/lua/text/treesitter](https://wippy.ai/llm/path/en/lua/text/treesitter)_ | _Score: 2.87_ _Context: Tree-sitter Parsing > Queries_ ```lua local query, err = treesitter.query("go", [[ (function_declaration name: (identifier) @func_name parameters: (parameter_list) @params ) ]]) ``` | Parameter | Type |... **See also:** - Get Value (lua/core/context) - Request Object (http/endpoint) --- ## Query Parameters _Chunk: [lua/http/client#query-parameters](https://wippy.ai/llm/chunk/lua/http/client#query-parameters)_ _Page: [en/lua/http/client](https://wippy.ai/llm/path/en/lua/http/client)_ | _Score: 2.87_ _Context: HTTP Client > Request Options_ ```lua local resp, err = http_client.get("https://api.example.com/search", { query = { q = "lua programming", page = "1", limit = "20" } }) ``` **See also:** - Path Parameters (http/router) - Opening a Binding (lua/core/contract) --- ## Query Inspection _Chunk: [lua/text/treesitter#query-inspection](https://wippy.ai/llm/chunk/lua/text/treesitter#query-inspection)_ _Page: [en/lua/text/treesitter](https://wippy.ai/llm/path/en/lua/text/treesitter)_ | _Score: 2.68_ _Context: Tree-sitter Parsing > Queries_ ```lua local pattern_count = query:pattern_count() local capture_count = query:capture_count() local name = query:capture_name_for_id(0) local id = query:capture_index_for_name("func_name") ``` **See also:** --- ## Query Syntax Reference _Chunk: [lua/text/treesitter#query-syntax-reference](https://wippy.ai/llm/chunk/lua/text/treesitter#query-syntax-reference)_ _Page: [en/lua/text/treesitter](https://wippy.ai/llm/path/en/lua/text/treesitter)_ | _Score: 2.58_ _Context: Tree-sitter Parsing_ Tree-sitter queries use S-expression patterns: ``` ; Match a node type (identifier) ; Match with field names (function_declaration name: (identifier)) ; Capture with @name (function_declaration... **See also:** - Next Steps (tutorials/channels) --- ## Executing Queries _Chunk: [lua/storage/sql#executing-queries](https://wippy.ai/llm/chunk/lua/storage/sql#executing-queries)_ _Page: [en/lua/storage/sql](https://wippy.ai/llm/path/en/lua/storage/sql)_ | _Score: 2.48_ _Context: SQL Database_ The query executor runs builder-generated queries. **See also:** ---