We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd27d9c + 0e6816c commit 95bcefaCopy full SHA for 95bcefa
lib/mongo/db.rb
@@ -453,6 +453,8 @@ def dereference(dbref)
453
# @param [Integer, Hash] args any additional argument to be passed to the +code+ expression when
454
# it's run on the server.
455
#
456
+ # @note the eval command is deprecated in MongoDB 3.0 and will be removed in a future server version.
457
+ #
458
# @return [String] the return value of the function.
459
def eval(code, *args)
460
unless code.is_a?(BSON::Code)
0 commit comments