Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23108

db.grep() shell utility to search all collections

    • Server Tooling & Methods

      Default behavior:
      db.grep("search term")
      OR
      db.grep(ObjectId("56e69b8abd177faa0aab0bfd"))
      Goes through all indexed fields in all collections and lists all collections where matches exist

      Quick way to test:
      https://gist.github.com/blowhacker/c930142e967d3a123519
      copy the contents of this gist into a mongo shell and try db.grep( <something to grep>)

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            vain navin kumar
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: