getMetadata

Gets metadata (the methods, properties, and parameters of a
component) associated with an object that is deployed on the
CFML server.

getMetadata(Object) → returns any

Member Function Syntax

arr.getMetadata()

getMetadata Argument Reference

Object any
Required

Examples sample code invoking the getMetadata function

CF 9+

writeDump(getMetaData(new Query()));

CF 2018+ Struct has a new key called dimensions and can also have a defined datatype. Supported datatypes are String, Numeric, Boolean, Date, Array, Struct, Query, Component, Binary, and Function.

arr = arrayNew['String'](1);
writeDump(arr.getMetadata());

Fork me on GitHub