The `orm:convert-mapping` command supports a `filter` optional parameter.

See
https://github.com/doctrine/doctrine2/blob/9c3cb579313ae01cdd3467b9f89fc15e9677b46c/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php#L55-L58
for reference.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

On 14 January 2015 at 11:02, Arvind Jha [via Zend Framework Community] <
[email protected]> wrote:

> Hello eveyone,
>
> Suppose I have 5 table in my database and I did some changes in one of the
> table or added one more table after creating entity.
>
> Code below creates entity of whlole DB but I want to create entity of just
> one table.
> php doctrine-module orm:convert-mapping --namespace="Album\Entity\\"
> --force  --from-database annotation ./module/Album/src/
>
> Any suggestion will be helpfull. :)
>
> Thanks
> Arvind Jha
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://zend-framework-community.634137.n4.nabble.com/How-to-create-entity-of-one-table-in-zend-2-Doctrine-2-tp4662416.html
>  To start a new topic under Zend Framework, email
> [email protected]
> To unsubscribe from Zend Framework Community, click here
> <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4>
> .
> NAML
> <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/How-to-create-entity-of-one-table-in-zend-2-Doctrine-2-tp4662416p4662417.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to