Ordered Structs Are Perfect For Creating MongoDB BSON Documents In Lucee

added by JavaScript Kicks
7/29/2019 1:50:23 PM


Yesterday, I took a look at using ordered, or linked, structs in Lucee These are Structs in which the order of the iteration of the keys matches the order of the insertion of the keys. Internally to ColdFusion, having a predictable Struct iteration order is almost always unnecessary; but, where this feature can shine is when crossing boundaries into an external system.