drop_index()
drop_index( string $table, string $index )
从表中删除指定的索引。
Drops a specified index from a table.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$table | (string) | 必需 | 数据库表名。 |
$index | (string) | 必需 | 要删除的索引名称。 |
返回(Return)
(对)对,完成时。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.0.1 | wp-admin/includes/upgrade.php:2358 | 1 function | 3 |
drop_index() 为WP2原创文章,链接:https://www.wp2.cn/functions/drop_index/