Tuesday, July 22, 2014

Re: 3.x - Fixtures, import records ?

It was very buggy and slow and what it did could be replaced easier with specific queries for each driver. My personal plan is to do that in another plugin like I did for y current Fixturize plugin in 2.x.
Maybe you want to help with that? :)

On Tuesday, July 22, 2014 9:58:49 AM UTC+2, Thomas von Hassel wrote:
Yeah, that was i was going to do, i was just wondering why that feature got the axe ?

/thomas

On 22 Jul 2014, at 09:53, José Lorenzo <jose.zap@gmail.com> wrote:

Yes, the feature was removed. You can, though, override the _getRecords() or insert() method to do whatever you like. For instance, I have .sql files stored in my project that I load in the insert() method.

On Monday, July 21, 2014 7:49:09 PM UTC+2, Thomas von Hassel wrote:
Hey

Is it true that the importing of records is gone from fixtures in 3.x ?

I have a dataset that is prohibitive to define manually in the fixture so i have been relying on having it be imported with the 'records' => true key


/thomas


--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: