lib/ctes_in_my_pg.rb
# WithChain objects act as placeholder for queries in which #with does not have any parameter.
# In this case, #with must be chained with #recursive to return a new relation.
WithChain objects act as placeholder for queries in which #with does not have any parameter.
In this case, #with must be chained with #recursive to return a new relation.
WithChain objects act as placeholder for queries in which #with does not have any parameter . In this case #with must be chained with #recursive to return a new relation .
def build_arel(aliases)
      arel = super(aliases)
      build_with(arel) if @values[:with]
      arel
    end
def build_arel ( aliases ) arel = super ( aliases ) build_with ( arel ) if @values [ :with ] arel end
WithChain objects act as placeholder for queries in which #with does not have any parameter.
WithChain objects act as placeholder for queries in which #with does not have any parameter .
aliases
<not_specific>