lib/praxis-mapper/query/sql.rb in praxis-mapper-4.3 vs lib/praxis-mapper/query/sql.rb in praxis-mapper-4.4
- old
+ new
@@ -54,10 +54,10 @@
# preserve existing where condition from query
if @where
dataset = dataset.where(@where)
end
- clause = dataset.opts[:where].sql_literal(dataset)
+ clause = dataset.literal(dataset.opts[:where])
original_where = @where
self.where clause
_execute