#4712: Containable: ability to strictly filter returned data
-------------------------------------------+--------------------------------
    Reporter:  teknoid                     |         Owner:         
        Type:  Enhancement                 |        Status:  new    
    Priority:  Medium                      |     Milestone:  2.0.0.x
   Component:  Components                  |       Version:  2.0.x.x
    Severity:  Normal                      |    Resolution:         
    Keywords:  containable filter teknoid  |   Php_version:  n/a    
Cake_version:                              |  
-------------------------------------------+--------------------------------
Comment (by Dieter_be):

 Okay the fact that cakes generates a count is because i was using
 pagination.
 I now changed my appModel to use the advFindBehavior giulianob
 posted[[BR]]
 [[BR]]
 I'm using this code now:

 {{{
 $this->A->find('all', array ('conditions' => array('A.B.C.D.E.F.G.name'=>
 array('a','b'))));
 }}}
 And I get:[[BR]]
 SELECT "A"."id" AS "A__id", "A"."name" AS "A__name" FROM "as" AS "A" WHERE
 "G."name" IN ('a', 'b')[[BR]]
 ERROR: missing FROM-clause entry for table "G"

-- 
Ticket URL: <https://trac.cakephp.org/ticket/4712#comment:6>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to