Documented the option :versions in description of method GridFileSystem.open.
This commit is contained in:
parent
417000da7b
commit
585e6722b4
@ -71,6 +71,9 @@ module Mongo
|
|||||||
# GridFileSystem#delete.
|
# GridFileSystem#delete.
|
||||||
# @option opts [Boolean] :safe (false) When safe mode is enabled, the chunks sent to the server
|
# @option opts [Boolean] :safe (false) When safe mode is enabled, the chunks sent to the server
|
||||||
# will be validated using an md5 hash. If validation fails, an exception will be raised.
|
# will be validated using an md5 hash. If validation fails, an exception will be raised.
|
||||||
|
# @option opts [Integer] :versions (false) deletes all versions which exceed the number specified to
|
||||||
|
# retain ordered by uploadDate. This option only works in 'w' mode. Certain precautions must be taken when
|
||||||
|
# deleting GridFS files. See the notes under GridFileSystem#delete.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user