Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
dwqlik82
Creator
Creator

Removing Mobile Devices from Users - any issue with deleting from devices collection in Mongo?

Hi,

Have already posted in Ideation about having front end admin rights to remove devices associated with specific users as an Admin, having looked at the mongo collections for a different issue, i can see the devices collection and am assuming an aggregation query on the owner field > user collection would give me who has a given device (apologies I'd never looked at mongo syntax before yesterday so if I'm mislabelling anything I can only apologise). Would deleting said objects from the devices collection work or would it break something?

---

Edit:

this would be the query to look at the owners of said devices

db.devices.aggregate([{
$lookup:{
from:"users",
localField: "owner",
foreignField: "_id",
as: "OwnerInfo"
}
}])

---

ta

Dale

0 Replies