NextDom\Helpers\DBHelper::buildQuery

Builds the elements for an SQL query. It will return two lists, the first being the list of parts "key= :key" to inject in the SQL, the second being the mapping of these parameters to the values.