Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
some mysql-only code is implemented in includes/quiz_stats/quiz_stats.admin.inc
:
$sql = "SELECT COUNT(result_id) AS count,
DATE_FORMAT(FROM_UNIXTIME(time_start), '%Y.%m.%e') AS date
FROM {quiz_node_results}
WHERE vid = :vid";
Comment | File | Size | Author |
---|---|---|---|
#1 | quiz-2272571-postgres-1.patch | 1017 bytes | stefan.r |
Comments
Comment #1
stefan.r CreditAttribution: stefan.r commentedComment #2
steinmb CreditAttribution: steinmb as a volunteer commentedThis prob. also apply to the 7.x-5.x branch. The same code live in that branch.