projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added as_query to ResultSet with a couple tests
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
ResultSet.pm
diff --git
a/lib/DBIx/Class/ResultSet.pm
b/lib/DBIx/Class/ResultSet.pm
index
472de94
..
72af68e
100644
(file)
--- a/
lib/DBIx/Class/ResultSet.pm
+++ b/
lib/DBIx/Class/ResultSet.pm
@@
-1709,6
+1709,14
@@
sub _remove_alias {
return \%unaliased;
}
+=head2 as_query
+
+Returns the SQL query and bind vars associated with the invocant.
+
+=cut
+
+sub as_query { return shift->cursor->as_query }
+
=head2 find_or_new
=over 4