Updated Db methods for support more flexible WHERE builder