logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DBIx::Class::SQLMaker::OracleJoins - Pre-ANSI Joins-via-Where-Clause Syntax

Bugs

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

Description

       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.

Further Questions?

       Check the list of additional DBIC resources.

Methods

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

Name

       DBIx::Class::SQLMaker::OracleJoins - Pre-ANSI Joins-via-Where-Clause Syntax

Purpose

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

See Also

       DBIx::Class::Storage::DBI::Oracle::WhereJoins - Storage class using this
       DBIx::Class::SQLMaker - Parent module
       DBIx::Class - Duh

Synopsis

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

See Also