Choose a file via native file dialog
Maintainer(s):
yutannihilation
Compatibility Matrix
This table covers all DuckDB releases that have not reached end-of-life, 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
INSTALL file_dialog FROM community;
LOAD file_dialog;
Example
FROM read_csv(choose_file());
-- Optionally, you can filter files by the extension. For example, this
-- makes the dialog list CSV files only
FROM read_csv(choose_file('csv'));
About file_dialog
This extension is a tiny utility to choose a file interactively.
Added Functions
| function_name | function_type | description | comment | examples |
|---|---|---|---|---|
| choose_file | scalar | Choose a file via native file dialog | NULL | [FROM read_csv(choose_file());] |
Overloaded Functions
This extension does not add any function overloads.
Added Types
This extension does not add any types.
Added Settings
This extension does not add any settings.