SQL injection · Question 6 of 12

Where should database queries in an extension be located?

1 answer is correct. Easy

Show answer

Answer

  • B In a dedicated repository class

Explanation

The guidelines recommend bundling all queries in a repository, whether Extbase, QueryBuilder or pure SQL. This makes review and maintenance easier.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications