Get values from db.