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

Represents the a Row in a Result. More...

Methods

Integer getLength ()
 Returns number of fields in the Row.
 
Value getField (String name)
 Returns the value of the field named name. More...
 

Properties

 length
 Same as getLength()
 

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.getField(<field_name>) function.

Member Function Documentation

◆ getField()

Object getField ( String  name)

Returns the value of the field named name.

Parameters
nameThe name of the field to be retrieved.