properly log sorting option

This commit is contained in:
Kent Sibilev 2011-03-25 14:57:22 -04:00 committed by Kyle Banker
parent 6b4ca2461f
commit c9da58965a
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ module Mongo
msg += payload.values_at(:selector, :document, :documents, :fields ).compact.map(&:inspect).join(', ') + ")"
msg += ".skip(#{payload[:skip]})" if payload[:skip]
msg += ".limit(#{payload[:limit]})" if payload[:limit]
msg += ".sort(#{payload[:sort]})" if payload[:sort]
msg += ".sort(#{payload[:order]})" if payload[:order]
@logger.debug "MONGODB #{msg}"
end