[wordpress插件] Database Debugging Tools for Developers开发人员的数据库调试工具

wordpress 插件 文章 2020-04-12 19:50 466 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

These tools are intended to be used by WordPress developers for testing and debugging.

这些工具旨在供WordPress开发人员用于测试和调试。

The backup tool lets you do a quick backup of individual MySQL tables by duplication into the same database, i.e. using “CREATE TABLE copy LIKE orig;

通过备份工具,您可以通过复制到同一数据库中来快速备份单个MySQL表,即使用“ CREATE TABLE copy LIKE orig;

INSERT INTO copy SELECT * FROM orig;”.

插入复制SELECT * FROM orig;”。

Useful for testing when you know only some tables will be changed so you don’t have to save and restore the entire database.

当您只知道要更改某些表而无需保存和还原整个数据库时,对测试很有用。

Most useful for repeated testing, i.e. backup table(s), test, restore table(s), test, restore table(s), … test, restore table(s), delete backup.

对于重复测试最有用,即备份表,测试,还原表,测试,还原表,…测试,还原表,删除备份。

The diff tool shows the rows in the selected tables that were inserted, updated or deleted.

差异工具显示所选表中已插入,更新或删除的行。

For updated rows the columns that have changed values have the values highlighted – red for the original value and green for the new value.

对于更新的行,已更改值的列将突出显示值-红色表示原始值,绿色表示新值。

Although large values are truncated in table cells the full value is available by clicking on the table cell.

尽管表单元格中的大值被截断,但单击表单元格即可获得完整值。

Further, serialized values are prettified using JSON.stringify( value, 4 ).

此外,使用JSON.stringify(value,4)来美化序列化的值。

The diff tool is intended for viewing the effect on the database tables of a small number of WordPress operations,

diff工具用于查看少量WordPress操作对数据库表的影响,

i.e. it is not suitable for testing a large number of WordPress operations.

也就是说,它不适合测试大量WordPress操作。

Please visit https://wpdbdt.wordpress.com/ for a very quick introduction.

请快速访问 https://wpdbdt.wordpress.com/

>

>

This plugin requires at least PHP 5.4.

此插件至少需要PHP 5.4。

安装步骤

    1. Download the plugin from the WordPress repository.
    2. 从WordPress存储库下载插件。

    3. Open the ‘Plugins’ menu item and activate the plugin.
    4. 打开“插件”菜单项并激活插件。

    5. Read the tutorial at https://wpdbdt.wordpress.com/
    6. https://wpdbdt.wordpress.com/ 上阅读该教程。

下载地址
https://downloads.wordpress.org/plugin/database-debugging-tools-for-developers.2.2.0.1.zip
-EOF-

AI助手支持GPT4.0