MySQL Shell API 8.0.40
Unified development interface for MySQL Products
|
Represents the a Row in a Result. More...
Methods | |
int | get_length () |
Returns number of fields in the Row. | |
Value | get_field (str name) |
Returns the value of the field named name. More... | |
Properties | |
length | |
Same as get_length() | |
Represents the a Row in a Result.
When a row object is created, its fields are exposed as properties of the Row object if two conditions are met:
In the case a field does not met these conditions, it must be retrieved through the Row.get_field(<field_name>) function.
object get_field | ( | str | name | ) |
Returns the value of the field named name.
name | The name of the field to be retrieved. |