codelab-opensrce / table_dump
表格转CSV和CSV转数据库导入/导出shell。CakePHP2.x Shell插件
该软件包的官方仓库似乎已删除,因此软件包已被冻结。
0.0.2
2015-10-17 15:24 UTC
This package is not auto-updated.
Last update: 2022-06-29 07:03:36 UTC
README
TableDump 0.1 CakePHP 2.x 插件 版权所有 (c) Cake Codelab. (http://codelab.jp)
许可协议下使用 MIT 许可证,文件分发必须保留上述版权声明。
@版权所有 (c) Codelab. (http://codelab.jp) @链接 http://codelab.jp @自 TableDump 0.1 CakePHP 插件 @许可证 https://open-source.org.cn/licenses/mit-license.php MIT 许可证
这是 CakePHP2.x Shell 插件。该 Shell 可以从数据库生成CSV文件并将数据库从CSV文件导入。
CSV文件输出到 APP\Config\Schema\export_{"model_name"}.csv。
[用法] cake tabledump [参数] [模型名称] {选项1 选项2 ...}
[参数] 将CSV导入数据库。将数据库导出为CSV。
[选项] drop:导入前删除表。connection [数据库名称]:数据库名称。默认为 'default'。force:对所有问题回答 YES。limit [num]:导出记录数限制。默认为9999。