method

to_sql

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: TreeManager
to_sql(engine = Table.engine) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/arel/tree_manager.rb, line 49
    def to_sql(engine = Table.engine)
      collector = Arel::Collectors::SQLString.new
      collector = engine.connection.visitor.accept @ast, collector
      collector.value
    end
Register or log in to add new notes.