getLastSerial is a method of the class SapDB_Result.
If with an INSERT statement the system has automatically generated one or more values for a key column of the SERIAL type, you can use this method to display the last of these generated values. This is useful, for example, if you want to maintain FOREIGN KEY dependencies in other SQL statements.
getLastSerial ()
Result:
● Last value of type SERIAL in the result set
● If the SQL statement returned no values of type SERIAL: None.