Ordered Structs Are Perfect For Creating MongoDB BSON Documents In Lucee 5.3.2.77

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

478 Views

Yesterday, I took a look at using ordered, or linked, structs in Lucee 5.3.2.77. 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.


0 comments