Either the name of the table to use, or a SQL query to run. If using a SQL query, it must start with “SELECT” (ignoring case and leading whitespaces) followed by a whitespace.The available tables are based on the source argument. If the source is SourceEnum.CONNECTION, then the SQL syntax is based on the underlying database from the connection argument. Otherwise, the SQL syntax is DuckDB SQL.
The column name for the option ID. Each row represents a selectable option.
The column name for the display text of each option.
The column name to order the options by. If None, orders by id_col.
The column name that indicates which options are selected by default. Should contain 1 for default options and 0 otherwise. If None, no options are selected by default.If more than one option has a value of 1 in this column, then the first option with a value of 1 will be selected.
custom_cols
dict[str, str]
default:"{}"
Dictionary mapping custom field names to column names. Unlike the custom_fields argument in SelectParameterOption, the dictionary value is the column name storing the custom field values instead of the custom field values themselves. source
SourceEnum
default:"SourceEnum.CONNECTION"
The source to fetch data from as a SourceEnum value. The column name of the user group for option visibility. If None, all users will see all options.
The column name of the parent option id for cascading.If None, then this parameter has no parent and its options will not be cascaded.
Name of the connection to use. Only used if the source is SourceEnum.CONNECTION. Connection must be defined in squirrels.yml or the connections.py file.If None, uses the default connection (specified by SQRL_CONNECTIONS__DEFAULT_NAME_USED environment variable or ‘default’).