Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from jkramer/8c0a3e5994b1adf54bedbc55d0db33a97a…

…1a6fd1

Treat WITH statements as SELECT
  • Loading branch information...
commit 8f69f140af08152ffce82b26ad238f0887a73508 2 parents 0fe1f61 + 8c0a3e5
@matiu authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/SQL/Bibliosoph.pm
View
6 lib/SQL/Bibliosoph.pm
@@ -203,6 +203,12 @@ package SQL::Bibliosoph; {
$type = 'SELECT';
}
+ # Small exception4:
+ # SELECTs in Postgres can define subqueries with WITH.
+ elsif (lc($type) eq 'with') {
+ $type = 'SELECT';
+ }
+
$self->create_method_for(uc($type||''),$name);
}
Please sign in to comment.
Something went wrong with that request. Please try again.