BDNF and diabetes mellitus: The mediator role of BDNF in the relationship between diabetes and cognitive impairment was investigated by mediation analysis.