Skip to content

Commit 7e4a7e6

Browse files
alexbevip
authored andcommitted
RUBY-2017 Modify result type of Mongo::Database#command within the inline docs (#1589)
1 parent bb7cf56 commit 7e4a7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo/database.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def collections
157157
# @option opts :read [ Hash ] The read preference for this command.
158158
# @option opts :session [ Session ] The session to use for this command.
159159
#
160-
# @return [ Hash ] The result of the command execution.
160+
# @return [ Mongo::Operation::Result ] The result of the command execution.
161161
def command(operation, opts = {})
162162
txn_read_pref = if opts[:session] && opts[:session].in_transaction?
163163
opts[:session].txn_read_preference

0 commit comments

Comments
 (0)