nerdexam
Zend

ZF-100-500 · Question #201

Which of the following modes is the default Fetch mode for Adapter classes and returns data in an associative array on which the keys are the column names?

The correct answer is C. Zend_Db::FETCH_ASSOC. See the full explanation below for the reasoning.

Question

Which of the following modes is the default Fetch mode for Adapter classes and returns data in an associative array on which the keys are the column names?

Options

  • AZend_Db::FETCH_BOTH
  • BZend_Db::FETCH_OBJ
  • CZend_Db::FETCH_ASSOC
  • DZend_Db::FETCH_COLUMN

How the community answered

(48 responses)
  • A
    4% (2)
  • B
    15% (7)
  • C
    73% (35)
  • D
    8% (4)

Community Discussion

No community discussion yet for this question.

Full ZF-100-500 Practice