• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Tanner Record

Tanner Record

WordPress Plugin Developer

  • Home
  • Contact
You are here: Home / Archives for wp-cli

wp-cli

Selective SQL Exports with WP-CLI

February 23, 2022

Sometimes you need to perform a selective SQL export of rows in a database table. Recently, I found out that you can pass extra arguments to the mysqldump command through wp-cli. Taking a closer look at the wp-cli documentation shows that you can use –<field>=<value> to narrow your query. For example, you can use the […]

Filed Under: TIL (Today I Learned), WordPress Tagged With: MySQL, mysqldump, wordpress, wp-cli

Primary Sidebar

  • Facebook
  • GitHub
  • Instagram
  • Twitter

Recent Posts

  • Is Too Many Plugins Harmful For a WordPress Site?
  • How to Rebase Git Branch Onto Another Parent Branch
  • Selective SQL Exports with WP-CLI

Copyright © 2023 Tanner Record