Example #1
0
 /**
  * Uses Database Driver method to return a query
  * @param  string $q      Endpoint verb.
  * @param  string $table  Endpoint name. APIHandler associates the endpoint name with the database name.
  * @param  array  $params Endpoint custom params.
  * @return string         Formatted database query.
  */
 public static function construct_query($q, $table, $params)
 {
     return self::$db->construct_query($q, $table, $params);
 }