next up previous contents
Next: field.names Up: Communication with the MySQL Previous: affected.rows   Contents

Subsections

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.



Espen Suenson 2006-07-07