From: Rob Kinyon Date: Sun, 29 Mar 2009 02:48:38 +0000 (-0400) Subject: Forgot about CONNECT BY. Oops. No example provided. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=22033e85ee9635c0f4d8d3e85f4eb2d33ebc4891;p=dbsrgits%2FSQL-Abstract-2.0-ish.git Forgot about CONNECT BY. Oops. No example provided. --- diff --git a/lib/SQL/Abstract/Manual/Specification.pod b/lib/SQL/Abstract/Manual/Specification.pod index 1c933fd..f9e1f32 100644 --- a/lib/SQL/Abstract/Manual/Specification.pod +++ b/lib/SQL/Abstract/Manual/Specification.pod @@ -535,9 +535,18 @@ The hash for a for clause is composed as follows: This corresponds to the clause that is used in some RDBMS engines to provide for an adjacency-list query. -A connectby clause is composed as follows: +The hash for a for clause is composed as follows: + + { + start_with => ExpressionList, + connect_by => { + option => '< PRIOR | NOCYCLE >' + cond => ExpressionList, + }, + order_siblings => orderby-clause, + } - Identifier, WhereExpression +Both the start_with and order_siblings clauses are optional. =head1 TODO