Update class.database.php

Added Recursive Where.