symfony2中有没有办法实现批量添加数据到数据库表中
1 回答
饮歌长啸
TA贡献1951条经验 获得超3个赞
public MappingMongoConverter mongoConverter() throws UnknownHostException {
MappingMongoConverter converter = new MappingMongoConverter(mongoDbFactory(), mongoMappingContext());
converter.setTypeMapper(mongoTypeMapper());
return converter;
}
- 1 回答
- 0 关注
- 447 浏览
添加回答
举报
0/150
提交
取消