Next: field.names Up: Communication with the MySQL Previous: affected.rows Contents
Subsections

- Answer
- Errors

### `null.values`

An SQL field can be NULL or an empty string. Since there is no such thing as NULL in occam, both are represented as a `MOBILE []BYTE` of size 0. This message provides a way of distinguishing between the two.

#### Answer

A `data.null.values; MOBILE []BOOL` message. For each field in the last received `data.row` message, the corresponding `BOOL` will be `TRUE` if the field was NULL.

#### Errors

`no.data.error` if the last query didn't return any rows, if the last query caused a `mysql.error`, if no query has been executed yet or if no `data.row` has been received yet.