query(sql, options?)
Execute a SQL query against the oleander lake using DuckDB. Returns structured results with columns, types, and rows. If the API rejects the query, the SDK throws instead of returning a failed result.
Parameters
string
required
The SQL query to execute. Supports DuckDB SQL syntax.
boolean
default:"false"
When
true, persists query results as a table. The table name is returned in saved_table_name.Saving results
Usesave: true to persist query results as a table for later use.