📅  最后修改于: 2022-03-11 14:54:20.744000             🧑  作者: Mango
代码示例1
$em = $this->getDoctrine()->getManager();
$stmt = $em->getConnection()->prepare($sql);
$stmt->execute();
return $stmt->fetchAll();