mysqlx.Row¶
- class mysqlx.Row(resultset: BufferingResult | RowResult, fields: Sequence[int | float | str | bytes | Decimal | datetime | timedelta | None])¶
Bases:
object
Represents a row element returned from a SELECT query.
- Parameters:
resultset (mysqlx.SqlResult or mysqlx.RowResult) – The result set.
fields (list) – The list of fields.
- get_string(str_index: str) str ¶
Returns the value using the column name.
- Parameters:
str_index (str) – The column name.
Deprecated since version 8.0.12.