This is a TablePlus's Plugin, by install tabledump
you will have a menu Copy Script As
in context menu.
TablePlus build 200 and above.
Install via Plugin Manager: command + L
git clone git@github.com:TablePlus/tabledump.git
cd tabledump/tabledump.tableplusplugin
npm install
npm run build
open .
- Open a connection.
- Right on a item in left panel.
- Select
Copy Script As
in menu.
tabledump is released under the MIT license. See LICENSE for details.