Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3645

Add dry-run db:mongoid:list_indexes and db:mongoid:list_undefined_indexes Rake tasks

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Useful when you want to check state of indices without modifying them.

      Prints to console (via logger). Output format looks like:

      ModelNameA
        _id_
        my_index
      ModelNameB
        (none)
      ModelNameC
        _id_
        my_other_index
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            johnnyshields Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: