I have this document, i need to split string using empty space and also remove numbers from a string in mongodb aggregation :
{
"_id":"1",
"foo":"alpha069",
"faa":"alpha"
}
I want to get this:
{
"_id":"1",
"foo":"alpha069",
"faa":"alpha",
"new_foo":"alpha",
"new_faa":["a","l","p","h","a"]
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…