You are here

function opigno_lrs_stats_query_new_pipeline in Opigno TinCan API 7

Create a valid empty pipeline

Return value

array A structured pipeline array.

8 calls to opigno_lrs_stats_query_new_pipeline()
opigno_lrs_stats_all_course_content_failed_statements in modules/opigno_tincan_api_stats/includes/model/queries.inc
Retrieve all course content failed statements (caching for current request)
opigno_lrs_stats_all_course_content_finished_statements in modules/opigno_tincan_api_stats/includes/model/queries.inc
Retrieve all course content finished statements (caching for current request)
opigno_lrs_stats_all_course_content_passed_statements in modules/opigno_tincan_api_stats/includes/model/queries.inc
Retrieve all course content passed statements (caching for current request)
opigno_lrs_stats_all_course_content_statements in modules/opigno_tincan_api_stats/includes/model/queries.inc
Retrieve all course content statements (caching for current request)
opigno_lrs_stats_all_course_content_viewed_statements in modules/opigno_tincan_api_stats/includes/model/queries.inc
Retrieve all course content viewed statements (caching for current request)

... See full list

File

modules/opigno_tincan_api_stats/includes/model/pipeline.inc, line 14
Implements functions to progressively build a pipeline for mongoDB aggregate function

Code

function opigno_lrs_stats_query_new_pipeline() {
  return array(
    array(
      '$match' => new stdClass(),
    ),
  );
}