Documentation Home
X DevAPI User Guide
Download this Manual

X DevAPI User Guide  /  Working with Result Sets  /  Result Set Classes

Pre-General Availability Draft: 2017-10-13

9.1 Result Set Classes

All database operations return a result. The type of result returned depends on the operation which was executed. The different types of results returned are outlined in the following table.

Result Class

Returned By

Provides

Result

add().execute(), insert().execute(), ...

affectedRows, lastInsertId, warnings

SqlResult

session.sql()

affectedRows, lastInsertId, warnings, fetched data sets

DocResult

find().execute()

fetched data set

RowResult

select.execute()

fetched data set

The following class diagram gives a basic overview of the result handling.

Figure 9.1 Results - Class Diagram

Results - Class Diagram


User Comments
Sign Up Login You must be logged in to post a comment.