complete database handle