본문 바로가기

Programming

mongoexport 사용법

mongoexport --host localhost --db cpm_ladder --collection 20210116_event_R --ty
pe=csv --out text.csv --fields teamRank,teamId,teamName,teamCode,playerName_0,playerSkill1_0,playerSkill2_0,playerNa
me_1,playerSkill1_1,playerSkill2_1,playerName_2,playerSkill1_2,playerSkill2_2,playerName_3,playerSkill1_3,playerSkil
l2_3,playerName_4,playerSkill1_4,playerSkill2_4,playerName_5,playerSkill1_5,playerSkill2_5,playerName_6,playerSkill1
_6,playerSkill2_6,playerName_7,playerSkill1_7,playerSkill2_7,playerName_8,playerSkill1_8,playerSkill2_8,playerName_9
,playerSkill1_9,playerSkill2_9,playerName_10,playerSkill1_10,playerSkill2_10,playerName_11,playerSkill1_11,playerSki
ll2_11,playerName_12,playerSkill1_12,playerSkill2_12,playerName_13,playerSkill1_13,playerSkill2_13,playerName_14,pla
yerSkill1_14,playerSkill2_14,playerName_15,playerSkill1_15,playerSkill2_15,playerName_16,playerSkill1_16,playerSkill
2_16,playerName_17,playerSkill1_17,playerSkill2_17,playerName_18,playerSkill1_18,playerSkill2_18

'Programming' 카테고리의 다른 글

PKGBUILD 사용법  (0) 2021.01.17