singlestoredb.connection.Cursor.next

Cursor.next() Tuple[Any, ...] | Dict[str, Any] | np.ndarray | pd.DataFrame | pl.DataFrame | pa.Table | List[Tuple[Any, ...]] | List[Dict[str, Any]] | None

Return the next row from the result set for use in iterators.

Raises:

StopIteration – If no more results exist

Return type:

tuple of values