mysqldoc

command module
v0.0.0-...-a86add6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

README

mysqldoc

mysql 数据库文档导出工具

install

go install github.com/yubo/gotool/mysqldoc@latest
mysqldoc --dsn="${DB_USER}:${DB_PWD}@tcp(localhost:3306)/test_db"

#### 表名 version
序号 | 名称 | 数据类型 | 允许空值 | 说明
-- | -- | -- | -- | --
1 | version | bigint unsigned | false |  version
2 | update_time | timestamp | false |  update time
3 | hostname | varchar(32) | false |  hostname

There are 3 keyword descriptions that were not found and have been added to the dictionary file ./dict.txt

如果需要翻译, 可使用 https://translate.google.com/ 翻译成需要的语言,然后再次运行

mysqldoc --dsn="${DB_USER}:${DB_PWD}@tcp(localhost:3306)/test_db"

#### 表名 version
序号 | 名称 | 数据类型 | 允许空值 | 说明
-- | -- | -- | -- | --
1 | version | bigint unsigned | false | 版本
2 | update_time | timestamp | false | 更新时间
3 | hostname | varchar(32) | false | 主机名
表名 version
序号 名称 数据类型 允许空值 说明
1 version bigint unsigned false 版本
2 update_time timestamp false 更新时间
3 hostname varchar(32) false 主机名

Documentation

Overview

Copyright 2020 yubo. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL