This version is outdated! Click here to see latest



Perform basic database operations using credentials stored in wp-config.php.

Critical or Security advisories for v1.2.0

This version doesn't have any advisory. Want to report one?

Changelog for v1.2.0

  • Introduces wp db prefix for getting the $wpdb->prefix for a site [#22].
  • Introduces wp db search for searching through the database for a given string [#29, #33].
  • Uppercases WP size_format() for pre-4.6 compat [#26].
  • Removes superfluous isset() check before unset() [#27].
  • Updates package with latest scaffolded components [#31].
  • Uses dist: precise for PHP 5.3, dist: trusty for everything else [#32].

Dependencies for v1.2.0

Name Requirement Status


My projects using wp-cli/db-command

Name Locked version Requirement
You should be logged in to see which of your projects use wp-cli/db-command.