File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,10 @@ wp db query [<sql>] [--dbuser=<value>] [--dbpass=<value>] [--<field>=<value>] [-
342342Executes an arbitrary SQL query using ` DB_HOST ` , ` DB_NAME ` , ` DB_USER `
343343 and ` DB_PASSWORD ` database credentials specified in wp-config.php.
344344
345+ Use the ` --skip-column-names ` MySQL argument to exclude the headers
346+ from a SELECT query. Pipe the output to remove the ASCII table
347+ entirely.
348+
345349** OPTIONS**
346350
347351 [<sql>]
Original file line number Diff line number Diff line change @@ -401,6 +401,10 @@ public function cli( $_, $assoc_args ) {
401401 * Executes an arbitrary SQL query using `DB_HOST`, `DB_NAME`, `DB_USER`
402402 * and `DB_PASSWORD` database credentials specified in wp-config.php.
403403 *
404+ * Use the `--skip-column-names` MySQL argument to exclude the headers
405+ * from a SELECT query. Pipe the output to remove the ASCII table
406+ * entirely.
407+ *
404408 * ## OPTIONS
405409 *
406410 * [<sql>]
You can’t perform that action at this time.
0 commit comments