How to get a record's column names using CF Reactor?
-
12-01-2021 - |
سؤال
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?
المحلول
Use _getObjectMetadata().getFields()
to get all of the fields on a Reactor object :)
لا تنتمي إلى StackOverflow