bin/cake bake fixture --conditions "id IN (10,81)" -r -n 10000 --table trading_partners CustomTradingPartners
Use the above to export selected records to a fixture
Important: The fixture name (The CustomTradingPartners parameter in the above example) is limited to 28 characters. If you make it longer than 28 it throws a [Cake\Database\Exception\DatabaseException] Cannot describe custome_items_trading_partners_with_really_long_name_here. It has 0 columns.
0 Comments