Closed GoogleCodeExporter closed 9 years ago
Hi,
Grid will look for the table primary key(s).
Does you table have hone?
Best Regards,
Bento Vilas Boas
Original comment by pao.fre...@gmail.com
on 16 Feb 2010 at 3:43
My table has no primary key for the moment (it is generated via PHP). But I can
change this behaviour in my case.
Could it not be interesting to be able to specify oneself the field we want to
be
consider as primary on (if not user defined, so the detected primary key will
be used) ?
Original comment by tribal...@gmail.com
on 17 Feb 2010 at 10:05
Mistake ! I have a primary key for this table. And so, it seems not to be
detected...
Original comment by tribal...@gmail.com
on 17 Feb 2010 at 10:42
Hm,
That's odd...
I'm using the Zend_Db_Table_Abstract describeTable() to find tables primary key.
Even if your table doesn't have a PK, Zend_Db will look for a unique index and
return
it as PK
Can you send me your ddl and your grid construct?
You can email me, if don't want to post it publicly geral[the symbol we
know]petala-azul.com
Best Regards,
Bento Vilas Boas
Original comment by pao.fre...@gmail.com
on 17 Feb 2010 at 4:15
Issue can be closed, it is resolved since revision 640 (linked to issue 180)
Original comment by tribal...@gmail.com
on 23 Feb 2010 at 10:30
Original comment by pao.fre...@gmail.com
on 23 Feb 2010 at 2:52
Original comment by bento.vi...@gmail.com
on 3 Mar 2010 at 4:56
Original issue reported on code.google.com by
tribal...@gmail.com
on 16 Feb 2010 at 2:39