Interface AddResult

All Superinterfaces:
QueryResult, Result
All Known Implementing Classes:
AddResultImpl

public interface AddResult
extends Result
A result from the collection.add() statement.
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.String> getGeneratedIds()
    Get a list of document ids generated in the server for the documents added by collection.add().

    Methods inherited from interface com.mysql.cj.xdevapi.Result

    getAffectedItemsCount, getWarnings, getWarningsCount
  • Method Details

    • getGeneratedIds

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