From: Rob Kinyon Date: Thu, 5 Mar 2009 18:17:48 +0000 (+0000) Subject: Added experimental tag to as_query and subqueries in general X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a9530d1a7d770ca7101bfacbb954fe2b075e722;p=dbsrgits%2FDBIx-Class-Historic.git Added experimental tag to as_query and subqueries in general --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index c02e477..d4458eb 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -343,6 +343,10 @@ 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 e1cf9c2..c29d604 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -1821,6 +1821,8 @@ 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 3248ecb..5ec2a05 100644 --- a/lib/DBIx/Class/ResultSetColumn.pm +++ b/lib/DBIx/Class/ResultSetColumn.pm @@ -68,6 +68,8 @@ 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 }