Support NULL values

Allows support for the value NULL in value arrays passed to DB functions such as update and insert.