extract common datamapper sqlite adapter methods