Organizational Research By

Surprising Reserch Topic

mongodump query with bindata


mongodump query with bindata  using -'c#,mongodb,mongodb-csharp'

The Mongodump documentation specifies you can dump using a specific query

i.e.

mongodump --host localhost --db mydb --collection testCollection --query "{SomeKey: 'some value'}"


I'm storing _ids fields as BinData, is it possible to query on this?

I've tried

mongodump --host localhost --db mydb --collection testCollection --query "{_id: 'BinData(3,ryBRQ+Px0kGRsZofJhHgqg==)'}"


With no luck.
    
asked Sep 26, 2015 by patelnikul321
0 votes
6 views



Related Hot Questions



Government Jobs Opening


...