How to get a record's column names using CF Reactor?
-
12-01-2021 - |
Question
I'd like to get a list/array of a record object's column names. I suppose I could get this by looping thru the method names, but I was hoping that there would be something cleaner?
Solution
Use _getObjectMetadata().getFields()
to get all of the fields on a Reactor object :)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow