method

to_sql

v8.1.1 - Show latest stable - Class: Arel::Nodes::Node
to_sql(engine = Table.engine)
public

FIXME: this method should go away. I don’t like people calling to_sql on non-head nodes. This forces us to walk the AST until we can find a node that has a “relation” member.

Maybe we should just use `Table.engine`? :‘(