我有100条数据,怎么用node插入到mysql在中啊,
我找了一种这样的但是不好
var query = 'insert into news set ?';
connection.query(query,{
title : 'node',
content : 'node',
nameConpany : 'woman',
time :'1512151'
}
我的数据结构是这样{{“title ”,“content ”,“nameConpany ”,“time ”},{“title ”,“content ”,“nameConpany ”,“time ”},......}求怎么做
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
人生最曼妙的风景,竟是内心的淡定与从容!