c# - Find document by matching on [byte] array -


i have collection in mongodb database 2 fields; first field _id objectid datatype, , second bytes byte[] datatype:

public class imageitem {     public objectid _id;     public byte[] bytes; } 

the question is: coding in c#, how can document collection matching bytes ? say, how single document using single parameter (bytes), or check if such document exists?


Comments