"Inserts an item into the database table and into the tree."