add function get() to DbProvider