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