模型相关新增On this page新增info使用 save 方法,可将模型数据插入到数据源数据:一、使用示例$student = new Student();$student->age = 50;$student->cid = 2;$student->sname = '玉麒麟卢俊义';$res = $student->save();pd($res);二、效果