DBIx::Class::SQLMaker::OracleJoins(3pm)

DBIx::Class::SQLMaker::OracleJoins3pm

Pre-ansi joins-via-where-clause syntax

Usage

Not intended for use directly; used as the sql_maker_class for schemas and components.

Purpose

This module is used with Oracle < 9.0 due to lack of support for standard ANSI join syntax.

Overview

Implements pre-ANSI joins specified in the where clause. Instead of:

    SELECT x FROM y JOIN z ON y.id = z.id

It will write:

    SELECT x FROM y, z WHERE y.id = z.id

It should properly support left joins, and right joins. Full outer joins are not possible due to the fact that Oracle requires the entire query be written to union the results of a left and right join, and by the time this module is called to create the where query and table definition part of the sql query, it's already too late.

Methods

select

Overrides DBIx::Class::SQLMaker's select() method, which calls _oracle_joins() to modify the column and table list before calling next::method().

Further questions?

Check the list of additional DBIC resources.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12
  6. 13

Bugs

Does not support full outer joins (however neither really does DBIC itself)

From libdbix-class-perl 0.082844-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.