getMongoBsonMinKey

Returns a BSON MinKey value. MinKey compares lower than every other BSON value, so a field set to it always sorts first.

getMongoBsonMinKey() → returns any

This function requires Adobe ColdFusion 2021 and up.  Not supported on Lucee, etc.

Compatibility

ColdFusion:

Version 2021+ Requires the mongodb package

Links more information about getMongoBsonMinKey

Examples
Sample code invoking the getMongoBsonMinKey function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub