mysql
mysql copied to clipboard
Docs: how to handle NULL values
This section is missing a paragraph on how to handle NULL values effectively. Provide an example showing something like:
value v = /* get the value */
if (v.is_null()) {
// handle the NULL case
} else {
double d = v.get<double>(); // will throw on type mismatch
}