meteor-collection-csv:将集合序列化为CSV字符串

时间:2021-04-29 22:36:35
【文件属性】:
文件名称:meteor-collection-csv:将集合序列化为CSV字符串
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-29 22:36:35
JavaScript 集合CSV 将集合序列化为CSV 安装 meteor add thebakery:collection-csv 使用(仅服务器) 序列化系统中的所有用户 CollectionToCSV.toCSV(Meteor.users.find()) 选择特定的列 CollectionToCSV.toCSV(Meteor.users.find(),['username','firstname']); 给列起个漂亮的名字 CollectionToCSV.toCSV(Meteor.users.find(),{ username : 'User Name', firstname : 'First Name' }); 转换行 CollectionToCSV.toCSV(Meteor.users.find(), function(row){ return _.extend(row, {
【文件预览】:
meteor-collection-csv-master
----.jshintrc(7KB)
----.gitignore(14B)
----README.MD(986B)
----package.js(561B)
----.travis.yml(109B)
----collection-csv.js(2KB)
----tests()
--------collection-csv-tests.js(5KB)

网友评论