Example #1
0
 public function queueReport($data)
 {
     $data = $this->formatDates($data);
     $bq = new BigQueryApi();
     //start the the jobs
     $data = $bq->processTemplate($data);
     $data['bq_status'] = "processng";
     $this->create();
     $this->save($data);
 }