From: Rob Kinyon Date: Fri, 6 Mar 2009 17:55:52 +0000 (+0000) Subject: Changed how the EXPERIMENTAL tag for subqueries and as_query is noted X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=70bb942d89a34bc025ecf75f750c57fc9d2f4109;p=dbsrgits%2FDBIx-Class-Historic.git Changed how the EXPERIMENTAL tag for subqueries and as_query is noted --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index d4458eb..5d56802 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -295,7 +295,7 @@ Please see L documentation if you are in any way unsure about the use of the attributes above (C< join >, C< select >, C< as > and C< group_by >). -=head2 Subqueries +=head2 Subqueries (EXPERIMENTAL) You can write subqueries relatively easily in DBIC. @@ -343,10 +343,6 @@ That creates the following SQL: WHERE artistid = me.artistid ) -=head3 EXPERIMENTAL - -Please note that subqueries are considered an experimental feature. - =head2 Predefined searches You can write your own L class by inheriting from it diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index c29d604..07357e2 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -1807,7 +1807,7 @@ sub _remove_alias { return \%unaliased; } -=head2 as_query +=head2 as_query (EXPERIMENTAL) =over 4 @@ -1821,8 +1821,6 @@ Returns the SQL query and bind vars associated with the invocant. This is generally used as the RHS for a subquery. -B: This feature is still experimental. - =cut sub as_query { return shift->cursor->as_query(@_) } diff --git a/lib/DBIx/Class/ResultSetColumn.pm b/lib/DBIx/Class/ResultSetColumn.pm index 5ec2a05..ec0d3fc 100644 --- a/lib/DBIx/Class/ResultSetColumn.pm +++ b/lib/DBIx/Class/ResultSetColumn.pm @@ -54,7 +54,7 @@ sub new { return $new; } -=head2 as_query +=head2 as_query (EXPERIMENTAL) =over 4 @@ -68,8 +68,6 @@ Returns the SQL query and bind vars associated with the invocant. This is generally used as the RHS for a subquery. -B: This feature is still experimental. - =cut sub as_query { return shift->_resultset->as_query }