Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


how to do 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 24, 2015 by 20shahi
edited Oct 19, 2015 by rajesh
0 votes
17 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...