This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » development » Feature requests » Render data from database
Render data from database [message #90582] Tue, 29 December 2009 14:48 Go to next message
vovikdrg  is currently offline vovikdrg
Messages: 37
Registered: December 2009
Location: Ukraine
Member
hello
i have one more question by build:schema we just build schema
and then we can manually create data file.

maybe its possible to generate data schema from database?

thanks
Re: Render data from database [message #90623 is a reply to message #90582 ] Wed, 30 December 2009 11:21 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
By "data schema", I think you mean fixture. I don't believe there is an existing ability to do that, for either ORM, but it would be an interesting addition.

Incidentally for future posts, please state which version of symfony you are using, and which ORM - we will only have to ask otherwise.


Remember Palestine
Re: Render data from database [message #90639 is a reply to message #90582 ] Wed, 30 December 2009 13:04 Go to previous messageGo to next message
vovikdrg  is currently offline vovikdrg
Messages: 37
Registered: December 2009
Location: Ukraine
Member
oke sorry
i am using symfony 1.4, and doctrine

yes i mean fixture.
so i expect some thing like that

symfony doctrine:build-schema --with-data

:)so in fixture we will have schema.yml and data.yml Smile

Re: Render data from database [message #90706 is a reply to message #90582 ] Thu, 31 December 2009 16:51 Go to previous messageGo to next message
lightpriest  is currently offline lightpriest
Messages: 6
Registered: January 2009
Junior Member

What about doctrine:data-dump after creating the schema.yml?
Re: Render data from database [message #90741 is a reply to message #90582 ] Sat, 02 January 2010 16:48 Go to previous message
vovikdrg  is currently offline vovikdrg
Messages: 37
Registered: December 2009
Location: Ukraine
Member
hmm i tried it but it tell me that i have no some columns.
so where it read schema?

thanks
Previous Topic:[website & forum] plugin bridge with symfony project and phpbb/punbb
Next Topic:Customizable class between Doctrine Records and Symfony
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software