Skip to content

Commit bfd7b87

Browse files
committed
Merge pull request #598 from max-power/patch-1
update collection namespace to show database first
2 parents b41d000 + f6ae2aa commit bfd7b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo/collection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def bulk_write(operations, options)
215215
#
216216
# @since 2.0.0
217217
def namespace
218-
"#{name}.#{database.name}"
218+
"#{database.name}.#{name}"
219219
end
220220
end
221221
end

0 commit comments

Comments
 (0)