Skip to content
  • Jon Zeppieri's avatar
    355b65dd
    Adds Arel::Nodes::Cte for use in WITH expressions · 355b65dd
    Jon Zeppieri authored
    SelectManager#with currently accepts As and TableAlias nodes.
    Neither of these support materialization hints for the query
    planner. Both Postgres and SQLite support such hints.
    
    This commit adds a Cte node that does support materialization
    hints. It continues to support As and TableAlias nodes by
    translating them into Cte nodes.
    355b65dd
    Adds Arel::Nodes::Cte for use in WITH expressions
    Jon Zeppieri authored
    SelectManager#with currently accepts As and TableAlias nodes.
    Neither of these support materialization hints for the query
    planner. Both Postgres and SQLite support such hints.
    
    This commit adds a Cte node that does support materialization
    hints. It continues to support As and TableAlias nodes by
    translating them into Cte nodes.
Loading