src/Leevel/Database/Select.php
public function delete(?string $data = null, array $bind = [], bool $flag = false)
    {
        return $this
            ->safeSql($flag)
            ->runNativeSql(
                ...$this
                    ->condition
                    ->delete($data, $bind)
            );
    }
public function delete(?string $data = null, array $bind = [], bool $flag = false)
    {
        return $this
            ->safeSql($flag)
            ->runNativeSql(
                ...$this
                    ->condition
                    ->delete($data, $bind)
            );
    }
删除数据 delete (支持原生 sql).

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

@return array|int