singlestoredb.connection.Cursor.nextset

abstract Cursor.nextset() bool | None

Skip to the next available result set.

This is used when calling a procedure that returns multiple results sets.

Note

The nextset method must be called until it returns an empty set (i.e., once more than the number of expected result sets). This is to retain compatibility with PyMySQL and MySOLdb.

Returns:

  • True – If another result set is available

  • False – If no other result set is available