you always need some kind of id - or so called primary key/identifier
which can be indexed
what is that in your table?
you need to adjust this manually in your model then
var $id = "name of primary key field";

On 6 Jun., 10:45, thom <[email protected]> wrote:
> Hello fellas,
>
> I am trying to insert some data into an id-less table. When i inserted
> some datas in a 'normal' table (has an ID), i just using :
>
> $this->Model->create();
> $this->Model->save($this->data);
>
> But, if I applied the script into an id-less table, i got some error,
> said if there is no id (something like it).
>
> So, my question is, is there any way to insert into an id-less table
> instead of using $this->Model->query() ??
> Thank you before. :)
>
> --
> 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