--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: lua excerpt: | DuckDB Community Extensions Evaluate Lua scripts within queries extension: name: lua description: Evaluate Lua scripts within queries version: 1.5.6 language: C++ build: cmake license: MIT requires_toolchains: "python3" vcpkg_commit: cd61e1e26a038e82d6550a3ebbe0fbbfe7da78e3 maintainers: - isaacbrodsky repo: github: isaacbrodsky/duckdb-lua ref: f630ad32898fd1c67a155dc3b061f7d83a57f3b2 docs: hello_world: | SELECT lua('return "Hello " .. context', 'World'); extended_description: | Adds support for the Lua embedded scripting language to DuckDB. extension_star_count: 14 extension_star_count_pretty: 14 extension_download_count: 29425 extension_download_count_pretty: 29.4k image: '/images/community_extensions/social_preview/preview_community_extension_lua.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ✅ | ✅ | ✅ | ✅ | ✅ | | Linux ARM64 | ✅ | ✅ | ✅ | ✅ | ✅ | | macOS AMD64 | ✅ | ✅ | ✅ | ✅ | ❌ | | macOS ARM64 | ✅ | ✅ | ✅ | ✅ | ✅ | | Windows AMD64 | ✅ | ✅ | ✅ | ✅ | ✅ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ✅ | ✅ | ✅ | ✅ | ✅ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions
| function_name | function_type | description | comment | examples | |---------------|---------------|-------------|---------|----------| | lua | scalar | NULL | NULL | | | lua_json | scalar | NULL | NULL | | ### Overloaded Functions
This extension does not add any function overloads. ### Added Types
This extension does not add any types. ### Added Settings
| name | description | input_type | scope | aliases | typed_value | |----------------|---------------------------------------------------------|------------|--------|---------|-------------| | temp_directory | Set the directory to which temporary files are written. | VARCHAR | GLOBAL | [] | post.db.tmp |