On Jun 12, 8:07 am, bingo <[EMAIL PROTECTED]> wrote:
> hi AD,
>
> I thought of doing so, but somehow I am not feeling comfortable with
> finding articles by title.

I should maybe clarify that I have (foolishly) been referring to the
title and slug fields indiscriminately. An article would have (amongst
others) these 3 fields:

id int(pk)
title string
slug string (unique)

You would search on the slug field, not the title field.

Geoff the magic search methods (findBy* and findAllBy*) have been
around for ages, including the funky find[All]byXAndY and
find[All]byXOrY permutations (afaik - if it doesn't work, maybe I'm
wrong :D ).

hth,

AD


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to