MySQL Shell API 9.0.1
Unified development interface for MySQL Products
Methods | Properties | List of all members
Row Class Reference

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()
 

Detailed Description

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.

Member Function Documentation

◆ get_field()

object get_field ( str  name)

Returns the value of the field named name.

Parameters
nameThe name of the field to be retrieved.