The logging defaults from a table or database.
The default maximum characters to display per cell.
The default number of rows to display.
Query-specific settings, which take precedence over defaults.
The calling method used for diagnostics, or null.
OptionalnoClean?: booleanWhether to preserve the SQL text without cleaning it.
Arguments included in error diagnostics, or null.
OptionalreturnData?: booleanWhether to return converted rows. Defaults to false.
OptionalrowsToLog?: numberOverrides the default number of displayed rows.
The table name used for diagnostics, or null.
Optionalvalues?: DuckDBValue[]DuckDB-native values bound to SQL placeholders, in order.
The merged query options without modifying either argument.
Combines a table or database's logging defaults with query-specific options. Use this helper with
queryDB()when implementing an extension.