Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T torque-postgresql
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Carlos
  • torque-postgresql
  • Wiki
  • Auxiliary Statements

Auxiliary Statements · Changes

Page history
Updated Auxiliary Statements (markdown) authored Dec 30, 2022 by Carlos's avatar Carlos
Show whitespace changes
Inline Side-by-side
Auxiliary-Statements.md
View page @ 32551512
......@@ -150,7 +150,7 @@ The `cte.sub_query` option works in the same way as the `cte.query`, which means
Recursive CTE is also available in its detached form through `ToruqeRecursiveCTE` and works similar to its normal form with the addition of the extra settings available only for recursive operations: `sub_query`, `connect`, `union_all`, `with_depth`, and `with_path`.
You can combine the detached form and a plain query to load the recursivity result:
You can combine the detached form and a plain query to load the recursion result:
```ruby
class CoursesController < ApplicationController
def index
......
Clone repository
  • Wiki
  • Configuring

Data types

  • Box
  • Circle
  • Date/Time Range
  • Enum
  • EnumSet
  • Interval
  • Line
  • Segment

Querying

  • Arel
  • Auxiliary Statements
  • Belongs to Many
  • Distinct On
  • Dynamic Attributes
  • Has Many
  • Inherited Tables
  • Insert All
  • Multiple Schemas