projects
/
dbsrgits/Data-Query.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix trailing whitespace
[dbsrgits/Data-Query.git]
/
lib
/
Data
/
Query
/
Renderer
/
SQL
/
Slice
/
RowNum.pm
diff --git
a/lib/Data/Query/Renderer/SQL/Slice/RowNum.pm
b/lib/Data/Query/Renderer/SQL/Slice/RowNum.pm
index
7b90fcf
..
06e46e7
100644
(file)
--- a/
lib/Data/Query/Renderer/SQL/Slice/RowNum.pm
+++ b/
lib/Data/Query/Renderer/SQL/Slice/RowNum.pm
@@
-5,6
+5,14
@@
use Moo::Role;
with 'Data::Query::Renderer::SQL::Slice::SubqueryRemap';
+sub slice_subquery {
+ (limit => 1, offset => 1);
+}
+
+sub slice_stability {
+ (offset => 'check');
+}
+
sub _render_slice {
my ($self, $dq) = @_;
die "Slice's inner is not a Select"