Support NULL values for non-string database fields