Add basic functions for work with db in db adapter