diff --git a/lib/mongo/db.rb b/lib/mongo/db.rb index 82f0863e56..0c4e97d595 100644 --- a/lib/mongo/db.rb +++ b/lib/mongo/db.rb @@ -453,6 +453,8 @@ def dereference(dbref) # @param [Integer, Hash] args any additional argument to be passed to the +code+ expression when # it's run on the server. # + # @note the eval command is deprecated in MongoDB 3.0 and will be removed in a future server version. + # # @return [String] the return value of the function. def eval(code, *args) unless code.is_a?(BSON::Code)