Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1270

Class WriteResult Method getN() always return 0

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: Documentation
    • Environment:

      DBObject user = new BasicDBObject();
      user.put("name", "hoojo");
      user.put("age", 23);
      WriteResult wr = dbCollection.insert(user);// dbCollection.save(user);

      method wr.getN() return 0 both with insert and save,
      but the data save success.

      Reporter: luoch
      E-mail: luoch668@163.com

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

              Created:
              Updated:
              Resolved: