Class AddResultImpl

java.lang.Object
com.mysql.cj.xdevapi.UpdateResult
com.mysql.cj.xdevapi.AddResultImpl
All Implemented Interfaces:
QueryResult, AddResult, Result

public class AddResultImpl
extends UpdateResult
implements AddResult
A result from the collection.add() statement.
  • Constructor Details

  • Method Details

    • getGeneratedIds

      public java.util.List<java.lang.String> getGeneratedIds()
      Description copied from interface: AddResult
      Get a list of document ids generated in the server for the documents added by collection.add().
      Specified by:
      getGeneratedIds in interface AddResult
      Returns:
      all generated document ids