public static function executeSingleton1(string $query)
  {
    self::logQuery($query);

    return self::$dl->executeSingleton1($query);
  }
public static function executeSingleton1(string $query)
  {
    self::logQuery($query);

    return self::$dl->executeSingleton1($query);
  }
public static function executeSingleton1 ( string $ query ) { self :: logQuery ( $ query ) ; return self :: $ dl -> executeSingleton1 ( $ query ) ; }
Executes a query that returns 1 and only 1 row with 1 column.
Throws an exception if the query selects none, 2 or more rows.

@param string $query The SQL statement.

@return mixed The selected row.
Executes a query that returns 1 and only 1 row with 1 column . Throws an exception if the query selects none 2 or more rows .