sry i meant you need to adjust
var $primaryKey

since virtual fields are not very stable this is not a good idea at
all.


On 6 Jun., 11:31, thom <[email protected]> wrote:
> On Mon, Jun 6, 2011 at 4:22 PM, euromark <[email protected]> wrote:
> > you always need some kind of id - or so called primary key/identifier
> > which can be indexed
>
> That's why I think it's strange. The prev programmer didnt make one.
> And the system is already out. So, I am prosecuted to make
> no-differences in the database/ table between the old one and the new
> one but the script..
>
> The table is contain 2 IDs from another tables, 'total' field, and
> 'note' field, where 'note' is just an enum.
>
> What do you think about using virtualField as primary key? I just
> found it on cake-book.
>
> --
> Regards,,,
> mastanto 
> (thom_)http://mynameisthom.tumblr.comhttp://mynameisthom.blogspot.comhttp://www.twitter.com/mastanto_

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to