Skip to content

Commit ef0f52e

Browse files
authored
Merge pull request #265 from wp-cli/261-update-search-docs
Update db search docs
2 parents 6c09f32 + 8797d05 commit ef0f52e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/DB_Command.php

+19
Original file line numberDiff line numberDiff line change
@@ -1266,6 +1266,15 @@ public function prefix() {
12661266
*
12671267
* [--format=<format>]
12681268
* : Render output in a particular format.
1269+
* ---
1270+
* options:
1271+
* - table
1272+
* - csv
1273+
* - json
1274+
* - yaml
1275+
* - ids
1276+
* - count
1277+
* ---
12691278
*
12701279
* The percent color codes available are:
12711280
*
@@ -1301,6 +1310,16 @@ public function prefix() {
13011310
*
13021311
* They can be concatenated. For instance, the default match color of black on a mustard (dark yellow) background `%3%k` can be made black on a bright yellow background with `%Y%0%8`.
13031312
*
1313+
* ## AVAILABLE FIELDS
1314+
*
1315+
* These fields will be displayed by default for each result:
1316+
*
1317+
* * table
1318+
* * column
1319+
* * match
1320+
* * primary_key_name
1321+
* * primary_key_value
1322+
*
13041323
* ## EXAMPLES
13051324
*
13061325
* # Search through the database for the 'wordpress-develop' string

0 commit comments

Comments
 (0)