to_sql
=True) xorq.to_sql(expr, pretty
Return the formatted SQL string for an expression.
Parameters
Name | Type | Description | Default |
---|---|---|---|
expr | ir.Expr | Ibis expression. | required |
pretty | bool | Whether to use pretty formatting. | True |
Returns
Name | Type | Description |
---|---|---|
str | Formatted SQL string |