Строка с колонкой до запятой в MongoDB
db.collectionName.aggregate(
[
{ "$addFields": {
"names": { "$split": [ "$names", "," ] }
}},
{$out:"collectionName"}
]
)
Tiny Coders