Your anecdotal evidence of someone winning despite this means very little, and is also very recent. Many DA's, especially prior to the Ferguson Riots, back police in attempts to get endorsements. For just one example, Kamala Harris as DA refused to back a bill trying to get a special prosecutor...