Support passing command options to DDL helpers

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Dev Exp
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It appears that our DDL helpers do not provide a way to pass command options to the commands, like write concern.

      Per RUBY-1704 there is a way to provide majority write concern to e.g. collection creation operation as follows:

              support_client.command(create: @spec.collection_name, writeConcern: { w: :majority })
      

      But, since we have the helpers, the helpers should also provide this functionality.

              Assignee:
              Neil Shweky (Inactive)
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: