Ejemplo n.º 1
0
 /**
  * Executes a query that returns 1 and only 1 row.
  * Throws an exception if the query selects none, 2 or more rows.
  *
  * @param string $query The SQL statement.
  *
  * @return array The selected row.
  */
 public static function executeRow1($query)
 {
     self::logQuery($query);
     return self::$dl->executeRow1($query);
 }