core/DB.php
public static function getRow(string $sql, $args = null, $fetch_style = null, $cursor_orientation = null, $cursor_offset = 0)
    {
        return self::engine()->getRow($sql, $args, $fetch_style, $cursor_orientation, $cursor_offset);
    }
public static function getRow(string $sql, $args = null, $fetch_style = null, $cursor_orientation = null, $cursor_offset = 0)
    {
        return self::engine()->getRow($sql, $args, $fetch_style, $cursor_orientation, $cursor_offset);
    }
获取单条数据
@param string $sql
@param null $args
@param null $fetch_style
@param null $cursor_orientation
@param int $cursor_offset
@return mixed|null
@throws MysqlException