#1535: [PATCH] Versionable behavior and queries
--------------------------+-------------------------------------------------
  Reporter:  romain       |       Owner:  jwage                
      Type:  enhancement  |      Status:  new                  
  Priority:  minor        |   Milestone:                       
 Component:  Versionable  |     Version:  1.0.2                
Resolution:               |    Keywords:                       
  Has_test:  0            |    Mystatus:  Pending Core Response
 Has_patch:  0            |  
--------------------------+-------------------------------------------------
Changes (by romain):

  * type:  defect => enhancement

Comment:

 note : with this patch, you can make this kind of query :
 Doctrine_Query::create()
     ->select('p.comment, p.version, p.created_at, u.username')
     ->from('PageVersion p')
     ->leftJoin('p.Author u')
     ->where('p.id = ?', $id)
     ->fetchArray();

 For retrieve version history (as it is displayed in trac)

-- 
Ticket URL: <http://trac.phpdoctrine.org/ticket/1535#comment:1>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to