sql.raw for dynamic SQL fragments
Script editorUse sql.raw() in the TypeScript client to inline dynamic SQL fragments like table and column names into data table and DuckLake queries.
New features
- sql.raw(value) inlines a string directly into SQL without parameterization.
- Available on both wmill.datatable() and wmill.ducklake().
- Useful for dynamic table/column names that cannot be bound as parameters.