Oracle/Storage/WhereJoins.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Oracle/Storage.pm ↑ Summary Oracle/Test/SequenceTest.pm »
1 package DBIO::Oracle::Storage::WhereJoins;
2 # ABSTRACT: Oracle joins in WHERE syntax support (instead of ANSI).
3  
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use base qw( DBIO::Oracle::Storage );
Subroutine BEGIN: called CC=1 SCAR=0.0
8 use mro 'c3';
9  
10 __PACKAGE__->sql_maker_class('DBIO::Oracle::SQLMaker::Joins');
11  
12  
13 1;
14  
15 __END__
16  
17 =pod
18  
19 =encoding UTF-8
20  
21 =head1 NAME
22  
23 DBIO::Oracle::Storage::WhereJoins - Oracle joins in WHERE syntax support (instead of ANSI).
24  
25 =head1 VERSION
26  
27 version 0.900001
28  
29 =head1 DESCRIPTION
30  
31 L<DBIO::Oracle::Storage> subclass for Oracle databases older than version
32 9.0 that do not support standard ANSI C<JOIN ... ON> syntax.
33  
34 Instead of:
35  
36 SELECT x FROM y JOIN z ON y.id = z.id
37  
38 This storage generates:
39  
40 SELECT x FROM y, z WHERE y.id = z.id
41  
42 Left and right outer joins are supported via Oracle's C<(+)> syntax. Full
43 outer joins are not supported because Oracle requires a C<UNION> of left and
44 right joins, which cannot be constructed at the WHERE-clause stage.
45  
46 DBIO autodetects the Oracle version and uses this storage automatically for
47 pre-9.0 servers. See L<DBIO::Oracle::SQLMaker::Joins> for the SQL generation
48 details.
49  
50 =head1 SEE ALSO
51  
52 =over
53  
54 =item * L<DBIO::Oracle::Storage> - Parent Oracle storage class
55  
56 =item * L<DBIO::Oracle::SQLMaker::Joins> - SQL maker implementing WHERE-join syntax
57  
58 =item * L<DBIO::Oracle> - Oracle schema component
59  
60 =back
61  
62 =head1 AUTHOR
63  
64 DBIO & DBIx::Class Authors
65  
66 =head1 COPYRIGHT AND LICENSE
67  
68 Copyright (C) 2026 DBIO Authors
69 Portions Copyright (C) 2005-2025 DBIx::Class Authors
70 Based on DBIx::Class, heavily modified.
71  
72 This is free software; you can redistribute it and/or modify it under
73 the same terms as the Perl 5 programming language system itself.
74  
75 =cut
« Oracle/Storage.pm ↑ Summary Oracle/Test/SequenceTest.pm »