# GetMetadata()

Returns back meta information depending on the object passed in

```
GetMetadata( object=any, source=boolean );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| object | any | No | A component, user-defined function, query object, XML, etc. Within a CFC, the parameter can also specify the This scope *Alias: value* |  |
| source | boolean | No | return information of the source of the object |  |

# Examples

```cfml
q = queryNew("id,name","numeric,varchar");
dump(GetMetadata(q));

```







# Categories

[Components (CFCs)](../../categories/component.md), [Debugging](../../categories/debugging.md), [Objects](../../categories/object.md), [Queries](../../categories/query.md)

# See Also

[GetComponentMetaData()](getcomponentmetadata.md), [any.getMetadata()](../objects/any/getmetadata.md)