What I need, in other words, is a method to say, "this result set will
have a value that should be matched in this result set." No idea how
to do that or if it's even possible.
On Jun 30, 3:30 pm, DragonFlyEye wrote:
> Ok, so what seems to be the case is that the conditions element of the
> array
Ok, so what seems to be the case is that the conditions element of the
array is assumed to contain a string that can be used to compare. So
if I put in a specific bit of text, it works fine.
The difficulty here is that I'm trying to make an associating in
CakePHP that doesn't use the primary key.
Hello, again, cricket!
Thanks for the help, but I'm still getting the WHERE [PageSettings].
[pageid] = 'SubgroupPage.pageid' thing. I've never seen CakePHP react
to a query in this manner before!
On Jun 30, 2:30 pm, cricket wrote:
> On Wed, Jun 30, 2010 at 10:15 AM, DragonFlyEye
> wrote:
> > I
On Wed, Jun 30, 2010 at 10:15 AM, DragonFlyEye wrote:
> I'm trying to make an association between two models that do not use
> the primary key as the association. I'm not sure why I'm getting the
> results that I am from this:
> class SubgroupPage extends AppModel {
> var $name
I'm trying to make an association between two models that do not use
the primary key as the association. I'm not sure why I'm getting the
results that I am from this:
class SubgroupPage extends AppModel {
var $name = 'SubgroupPage';
var $useTable = 'menu_subgroup_pag