Method: Parsistence::Query#showQuery

Defined in:
lib/Parsistence/Query.rb

#showQueryObject

Prints current Query conditions to STDERR



257
258
259
260
261
262
263
264
265
266
267
268
# File 'lib/Parsistence/Query.rb', line 257

def showQuery
  $stderr.puts "Conditions: #{@conditions.to_s}"
  $stderr.puts "negativeConditions: #{@negativeConditions.to_s}"
  $stderr.puts "ltConditions: #{@ltConditions.to_s}"
  $stderr.puts "gtConditions: #{@gtConditions.to_s}"
  $stderr.puts "lteConditions: #{@lteConditions.to_s}"
  $stderr.puts "gteConditions: #{@gteConditions.to_s}"
  $stderr.puts "inConditions: #{@inConditions.to_s}"
  $stderr.puts "order: #{@order.to_s}"
  $stderr.puts "limit: #{@limit.to_s}"
  $stderr.puts "offset: #{@offset.to_s}"
end