Hi,

is there a way to tell cake that the PK of an table is not "id" ?

e.g.

Table "hotels"

id
hotel_id
hotel_type
languagecode
countrycode

Table "hotel_types"
id
hoteltype_id
name


Now, i need to connect, hotels.hotel_type with
hotel_types.hoteltype_id?

Greets,
Alexander


--~--~---------~--~----~------------~-------~--~----~
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