projects
/
dbsrgits/Data-Query.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e333555
)
PRIOR rendering for CONNECT BY
Matt S Trout [Sun, 17 Mar 2013 21:47:21 +0000 (21:47 +0000)]
lib/Data/Query/Renderer/SQL/Extension/ConnectBy.pm
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/Data/Query/Renderer/SQL/Extension/ConnectBy.pm
b/lib/Data/Query/Renderer/SQL/Extension/ConnectBy.pm
new file mode 100644
(file)
index 0000000..
ba689c6
--- /dev/null
+++ b/
lib/Data/Query/Renderer/SQL/Extension/ConnectBy.pm
@@ -0,0
+1,10
@@
+package Data::Query::Renderer::SQL::Extension::ConnectBy;
+
+use Moo::Role;
+
+around _default_simple_ops => sub {
+ my ($orig, $self) = (shift, shift);
+ +{ %{$self->$orig(@_)}, PRIOR => 'unop' };
+};
+
+1;