Automic VaultAutomic Vault

brew

使用 Homebrew, dnf 安装 sql-translator

查看 sql-translator 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sql-translator

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install sqlt-graph

Fedora Rawhide package metadata · sqlt-graph · 来源: dl.fedoraproject.org

概览

软件包摘要

Manipulate structured data definitions (SQL and more)

命令和别名

  • sqlt
  • sqlt-diagram
  • sqlt-diff
  • sqlt-diff-old
  • sqlt-dumper
  • sqlt-graph

历史

项目历史与用法

SQL::Translator, also known historically as SQLFairy, is a Perl distribution for translating structured data definitions. MetaCPAN describes it as converting vendor-specific SQL table definitions into other formats including other SQL dialects, diagrams, documentation, XML, and Class::DBI classes.

项目历史

The current GitHub repository was created in February 2011, while the module documentation and metadata preserve older CPAN-era identity and support channels. The distribution remains maintained on CPAN, with version 1.66 released in November 2024.

采用历史

SQL::Translator belongs to the CPAN tool culture where command-line scripts and Perl modules are distributed together. The Homebrew formula exposes several executables, including `sqlt`, `sqlt-diagram`, `sqlt-diff`, `sqlt-dumper`, and `sqlt-graph`, making the CPAN distribution available to users who prefer system package managers.

使用方式

Users commonly call the `sqlt` family of commands to translate, diff, diagram, or dump database schemas, or use the Perl API by constructing a translator with parser and producer options such as MySQL input and Oracle output. The module focuses on SQL definition language such as CREATE and ALTER rather than data manipulation.

为什么软件包爱好者会关心

Package nerds care about SQL::Translator because it is an old, cross-dialect schema plumbing tool with many optional outputs and executables. It is the kind of utility that appears in migration scripts, documentation generation, ORM-era workflows, and distro package sets because it bridges database dialects rather than belonging to one database vendor.

时间线

  • 2011: Current GitHub repository created.
  • 2015: Changelog documents fixes for SQLite, MySQL, PostgreSQL, SQL Server, and Oracle quoting and parsing.
  • 2019: 1.60 released after the 1.59 development series.
  • 2024: 1.66 released on CPAN.

Related projects

  • The official documentation names Parse::RecDescent, GD, GraphViz, Text::RecordParser, Class::DBI, and XML::Writer as related technologies. The module also includes parser and producer namespaces for multiple database dialects and output formats.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:sql

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sqltcli全局可执行文件
sqlt-diagramcli全局可执行文件
sqlt-diffcli全局可执行文件
sqlt-diff-oldcli全局可执行文件
sqlt-dumpercli全局可执行文件
sqlt-graphcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.66
管理器更新时间2026-05-26
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/dbsrgits/sql-translator

安装元数据

软件包元数据

软件包键brew:sql-translator
版本1.66
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/sql-translator
主页https://github.com/dbsrgits/sql-translator/
仓库https://github.com/dbsrgits/sql-translator
上游文档https://metacpan.org/pod/SQL::Translator
许可证Artistic-1.0-Perl OR GPL-1.0-or-later
源码归档https://cpan.metacpan.org/authors/id/V/VE/VEESH/SQL-Translator-1.66.tar.gz
最后更新2026-05-26T02:26:19Z
Pulseupdated
macOS 提供的库perl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesql-translator
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

dnf92%

sqlt-graph 1.66-4.fc44

sqlt-graph tool to create a graph from a database schema

https://metacpan.org/release/SQL-Translator

sudo dnf install sqlt-graph
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: perl-SQL-Translator
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Sqlt Graph
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sqlt-graph from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment