Assuming ORM supports that case, I think MongoDB's dialect would fail as we don't escape the nested dot in the id column form what I can see.