Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7364

Comment on: "primer/query.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      https://docs.mongodb.org/getting-started/csharp/query/

      example did not work on my machine, this was not working:

      var filter = new BsonDocument();
      using (var cursor = await collection.FindAsync(filter))
      // execution stopped here

      // with empty filter document it did work
      var filter2 = Builders<BsonDocument>.Filter.Empty;
      using (var cursor = await collection.FindAsync(filter2))

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 39 weeks, 1 day ago