I agree,

but in my specific case, I would like other users (and not
developpers) to be able to add/edit this content easily. Yaml fixtures
files would have be a nice choice ;-)

But if it's not possible, I'm gonna look for another way !

--
Adrien

On May 24, 4:45 pm, Pietrino Atzeni <pietrino.atz...@gmail.com> wrote:
> Hi,
> I don't think it's easy, but... why would you do that? I think it's best
> to create a specific task to accomplish this, since data-load reloads
> everything in the db and it's really slow when it comes to load a lot of
> data.
>
> Hope this helps,
> Pietro
>
>
>
>
>
> > Hi all,
>
> > I would like to store a set of items into a YML fixture file, a list
> > of "Group" to apply for each new "User" that will be created.
>
> > And thus I would like to write something like this :
>
> >   Group_1:
> >      label: My first group
> >      user:<?php echo $user ?>
>
> >   Group2:
> >      label: My second group
> >      user:<?php echo $user ?>
>
> > And I would launch the insertion like this :
>
> >   `php symfony doctrine:data-load groups.yml?user=XXX`
>
> > Do you know if it's possible ?
>
> > --
> > Adrien Mogenet
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to