blob: c45160851d17f67e4b778b5edca6494348d3fc2a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
module Arel
module Visitors
class SQLite < Arel::Visitors::ToSql
private
def visit_Arel_Nodes_SelectStatement o
o.limit = -1 if o.offset && !o.limit
super
end
end
end
end
|