DataRow packet

This packet is sent by the server as part of a result set. A set of DataRow packets is always preceded by a RowDescription packet. Gallium Data automatically makes that RowDescription packet available in each row.

Because this packet is so important, it behaves a bit differently than other packets.

In particular, the values in the row can be accessed by number or by name. 

So for a row with columns Name and Age, the values can be accessed with:

let name = context.packet.Name;  // or context.packet[0];

let age = context.packet["Age"]; // or context.packet[1], or context.packet.Age

Properties


Methods