Append text to existing value

PHOTO EMBED

Sun Jul 24 2022 12:46:15 GMT+0000 (Coordinated Universal Time)

Saved by @ali_alaraby #javascript

await Student.updateMany(
          { parent: new ObjectId(id) },
          [{ $set: { 
            isDeleted: true,
            username_lower: { $concat: [ `text to append`, "$username_lower" ] } 
          } }],
        )
content_copyCOPY