Closed kevinresol closed 4 years ago
It's an oversight. Or rather it was unspecified before? We left most of the nesting to the driver before. The change comes from selecting every field and then reassembling the nested response. It can be reintroduced.
I think that we have to reintroduce it, it broke my server silently. But is it difficult to determine that per current architecture?
It was defined in the node mysql driver here (link since I missed this somehow):
Should be consistent across drivers now
Sorry I am a bit of hurry so not yet have time to investigate further. Just to jot down my guess here. In the past a join, e.g.:
db.foo.leftJoin(db.bar)
will returnrow.bar == null
if there is no match. But I think now it seems to berow.bar == {field1: null, field2: null}
.If that is the case it is a breaking change...