Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2057

Support passing command options to DDL helpers

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

      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@mongodb.com Neil Shweky (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: