db facade