Getting nulls from database instead of empty strings

Comparing #1 with #2

Revision #2 was created by samdark samdark on May 29, 2011, 6:31:29 PM.

Corrected that actual values written aren't nulls

Title

SavGetting nulls tofrom database instead of empty strings

Content

To writeget `null` from database instead of empty strings to database when saving empty values you need to set up your DB connection as follows:


```php
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=test',
[...]