added an example on how to retrieve boolean column value from database