Entity Field Query - Type of the Field How do I determine the individual field type using an EntityFieldQuery?

Here is the sample code for extracting the fields of a content type named 'digital_iq_test_2012', which contains many fields. How do I determine the type of each field?

$query = new EntityFieldQuery;
$query-&gt;entityCondition('entity_type', 'node')
  -&gt;entityCondition('bundle', 'digital_iq_test_2012')
  -&gt;propertyCondition('status', 1);
$result = $query-&gt;execute();


Any help?
EntityFieldQuery essentially just prepares an SQL query and gives you the results, it doesn't return any meta information about the fields themselves.

To get that you can use the Field Info API, e.g.

// Get all fields attached to your bundle.
$fields = field_info_instances('node', 'digital_iq_test_2012');

// Loop through
foreach ($fields as $field_name =&gt; $instance) {
  // Load up field info for this field.
  $field_info = field_info_field($field_name);

  // Get the type
  $type = $field_info['type'];
}