CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 9: Magento 2 Certified Associate Developer

How can you access the select query of a collection?

Nội dung câu hỏi

How can you access the select query of a collection?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. You can only access the select query after the collection has been loaded by calling the public method query()
  2. B. It is stored in a protected variable $query and can only be accessed from the inside of a collection class
  3. C. You can get it by using public method getSelect() which returns an instance of Magento\Framework\DB\Select — đáp án hiện tại
  4. D. The select query is not available in the collection class, it will be generated by the MySQL adapter right before executing a query

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề