Exemplo n.º 1
0
        /// <summary>
        /// Execute query and returns resultset as generic BsonDataReader
        /// </summary>
        public IBsonDataReader ExecuteReader()
        {
            _query.ExplainPlan = false;

            return(_engine.Query(_collection, _query));
        }
 public IBsonDataReader Query(string collection, Query query)
 {
     return(_engine.Query(collection, query));
 }