Top Description Methods
com.mysql.cj.xdevapi

public Interface AddResult

extends Result
Known Direct Implementers
com.mysql.cj.xdevapi.AddResultImpl
Imports
java.util.List

A result from the collection.add() statement.

Method Summary

Modifier and TypeMethod and Description
public List<String>

Returns:

all generated document ids
getGeneratedIds
()

Get a list of document ids generated in the server for the documents added by collection.add().

Inherited from com.mysql.cj.xdevapi.Result:
getAffectedItemsCountgetWarningsgetWarningsCount

Method Detail

getGeneratedIdsback to summary
public List<String> getGeneratedIds()

Get a list of document ids generated in the server for the documents added by collection.add().

Returns:List<String>

all generated document ids