如何从posrgresql / mysql中选择数据添加到linux中的原始文件/ csv上?
原始文件/ csv:
console.log: bytesSent
[19:51:03] console.log: 1168539
[19:51:03] console.log: response
[19:51:03] console.log:
[{"fd":"445bcc46-ad55-4079-95d0-9b0deaab7c4c","size":1168430,"type":"image/jpeg","filename":"ionicfile","status":"finished","field":"ionicfile","extra":{"Location":"https://easy-move.s3.amazonaws.com/445bcc46-ad55-4079-95d0-9b0deaab7c4c","Bucket":"easy-move","Key":"445bcc46-ad55-4079-95d0-9b0deaab7c4c","ETag":"\"69ede2190589f905ee8590446caf1cf7-1\"","size":1168430}}]
[19:51:03] console.log: response[0]
[19:51:03] console.log: [
从tableA中选择*;
+------+------+------+
| col1 | col2 | col3 |
+------+------+------+
| a | 1 | A |
| b | 2 | B |
| c | 3 | C |
+------+------+------+
添加文件/ csv上的选定行:
+------+------+------+
| col1 | col2 | col3 |
+------+------+------+
| d | 4 | D |
+------+------+------+