Copy selected rows as a PHPUnitDataset
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CopyAsPHPUnitDataset.spBundle Added bundle Oct 5, 2013
LICENSE Initial commit Oct 5, 2013
README.md Added basic installation and usage instructions Oct 5, 2013

README.md

SequelProCopyPHPUnitDataset

Copy selected rows as a PHPUnitDataset

Installation and Usage

Copy CopyAsPHPUnitDataset.spBundle into ~/Library/Application Support/Sequel Pro/Bundles/

mv CopyAsPHPUnitDataset.spBundle ~/Library/Application Support/Sequel Pro/Bundles/

Reload bunbles in Sequel Pro

Select a few rows and press Ctrl+Alt+Cmd+P.

Output

  <?xml version="1.0" encoding="UTF-8"?>
<dataset>
		
	    <albums
	        id="6"
	        artist_id="3"
	        slug="brushfire-fairytales"
	        title="Brushfire Fairytales"
	        track_count="13"
	        price="9.99"
	        charitable_percentage="0.05"
		/>
	    <albums
	        id="7"
	        artist_id="3"
	        slug="in-between-dreams"
	        title="In Between Dreams"
	        track_count="14"
	        price="9.99"
	        charitable_percentage="0.05"
		/>
	    <albums
	        id="8"
	        artist_id="3"
	        slug="to-the-sea"
	        title="To The Sea"
	        track_count="13"
	        price="9.99"
	        charitable_percentage="0.05"
		/>
	    <albums
	        id="9"
	        artist_id="4"
	        slug="mutemath"
	        title="MuteMath"
	        track_count="14"
	        price="9.99"
	        charitable_percentage="0.05"
		/>
	</dataset>