src/Leevel/Database/Select.php
public function insert($data, array $bind = [], bool $replace = false, bool $flag = false)
    {
        return $this
            ->safeSql($flag)
            ->runNativeSql(
                ...$this
                    ->condition
                    ->insert($data, $bind, $replace)
            );
    }
public function insert($data, array $bind = [], bool $replace = false, bool $flag = false)
    {
        return $this
            ->safeSql($flag)
            ->runNativeSql(
                ...$this
                    ->condition
                    ->insert($data, $bind, $replace)
            );
    }
插入数据 insert (支持原生 sql).

@param array|string $data
@param array        $bind
@param bool         $replace
@param bool         $flag    指示是否不做任何操作只返回 SQL

@return null|array|int