Skip to content

Commit

Permalink
comment for later use
Browse files Browse the repository at this point in the history
  • Loading branch information
DonutsNL committed Oct 30, 2023
1 parent 02f5a90 commit da2fb34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/queryTickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
print_r($row['tid'].':'.$row['email'].':'.$row['alternative_email'].':'.$row['name'].'<br>');
}

// not sure GLPI query builder can handle multiple joins. Documentation only covers 1 join per query
// https://glpi-developer-documentation.readthedocs.io/en/master/devapi/database/dbiterator.html
// Maybe do some research in the GLPI sourcecode. Idealy we use the querybuilder and not hand written
// SQL code.
var_dump($DB->request(
[
'FIELDS' => ['glpi_tickets_users' => ['tickets_id', 'users_id', 'type', 'alternative_email'],
Expand Down

0 comments on commit da2fb34

Please sign in to comment.