Ask a Lawyer and Get Answers to Your Legal Questions
Unfortunately, in California, the police have no duty to protect.
Section 845 of California's Government code says:
845. Neither a public entity nor a public employee is liable for failure to establish a police department or otherwise to provide police protection service or, if police protection service is provided, for failure to provide sufficient police protection service.
Section 846 of California's Government code says this:
846. Neither a public entity nor a public employee is liable for injury caused by the failure to make an arrest or by the failure to retain an arrested person in custody.
I understand your point, and I share in your dismay. But it looks to me that Section 846 covers that. The police would not be liable for not making an arrest here. You can certainly talk to a local civil rights lawyer, as with every general rule there are exceptions. But the US Supreme Court ruled on this issue in 1989 and again back in 2005. You can read about that here.
In general, there's no duty to protect you from a crime.