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

Allow the use of symbols for index names with index management methods

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.2-rc0
    • Affects Version/s: 1.1.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As a Ruby developer I default to symbols in most cases for identifiers and the Ruby driver accepts this is pretty much every case, but this is an exception.

      Mongo::Collection#create_index :field_name, :name => :index_name
      Mongo::Collection#drop_index :index_name
      Mongo::DB.drop_index :collection_name, :index_name

            Assignee:
            kbanker Kyle Banker (Inactive)
            Reporter:
            cgriego Chris Griego
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: