Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typeorm not supporrtted insert large data

					// const data = new Subdistrict()
					// data.subdistrict_id = +val3.subdistrict_id
					// data.subdistrict_name = val3.subdistrict_name
					// data.district_id = +districtData[index]['district_id']
					// data.province_id = +province[index]['province_id']
					// await connection.getRepository(Subdistrict).save(data, { chunk: 15000, transaction: true })
 
PREVIOUS NEXT
Tagged: #typeorm #supporrtted #insert #large #data
ADD COMMENT
Topic
Name
6+9 =