clphillips / seedling

A framework agnostic database seeding and fixture library
MIT License
0 stars 0 forks source link

Add ability to disable caching fixtures #13

Open clphillips opened 9 years ago

clphillips commented 9 years ago

If we automate the seeding of thousands of records, the library wastes memory needlessly holding on to the data of records it has inserted.

The library should support an option to disable caching fixtures. This must also propagate down to the drivers so they can prevent maintaining and returning the fixture data.

clphillips commented 8 years ago

I'm actually finding it hard to see any reason to hold on to any records. So instead of making it an option, simply stop caching the data.