A city database meant to shed light on police misconduct settlements is missing the largest deal struck in the first three months of the year — even though it involved cops on both sides.

Transit Officer Larry Jackson agreed to take $5 million in January to resolve his claim that he was beaten and choked by fellow NYPD cops in 2010.

The payout wasn’t included in a city Law Department database of settlements reached this year because a 2017 law creating that database exempted settlements from cases more than five years old.

Jackson’s lawyer, Eric Sanders, called it “ridiculous” that the settlement was excluded because of when the case occurred.

“Of course, they like to hide things,” said Sanders, who’s an ex-NYPD cop. “The public should know about all public expenditures or transactions because it’s the taxpayers’ money.”

In the case, Jackson claimed several officers punched, choked, pepper-sprayed and battered him with batons after responding to a 911 call at his home. City lawyers argued at trial that Jackson had punched one of the officers.

A Brooklyn federal jury awarded him $15 million in damages, but a judge reduced that amount to $5.45 million, and Jackson agreed to drop an appeal in exchange for $5 million.