Skip to content

Allow processing of all OCIDs, instead of requiring standard input #2

Description

@jpmckinney

I can get around this limitation by creating a short script to get all OCIDs:

db.mycollection.find({}, {ocid: 1}).forEach(function (item) { print(item.ocid); });

And then running:

mongo --quiet mydb myscript.js | node index.js -d mydb -c mycollection

However, it'd be nice to instead just have an option to process all OCIDs (or for this to be the default if standard input isn't provided).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions