Skip to main content

Module lua

Module lua 

Source
Expand description

Luau: the way in for scripts.

Everything the command line can do is here too, and more: a script can read a file, measure it, write it again with a plan, and compare two plans — all in the DuckDB-style vocabulary, because that is the vocabulary the translation understands.

Functions§

lua
A Lua state with the tool’s API in it.
run_file
Run a script, with arguments for it.
run_string
Run a piece of code.