Describe a table
wp_db_schemaDescribe the columns of one database table (DESCRIBE): per column Field, Type, Null, Key, Default and Extra, returned as table and columns. Read-only. Only base tables of this site are accepted (on a multisite network, for anyone but a super admin, only the current site's tables); an unknown table, a view or another site's table is refused with an error. The tables themselves are listed by wp_db_tables. Requires manage_options and runs only with write access on. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Physical table name including the prefix, e.g. wp_posts, as wp_db_tables lists it. Characters other than letters, digits and underscore are stripped. |