I may be wrong but I thought the dependentTables and referenceMap were
just for automatically cascading delete/update operations, something
InnoDB can do itself. Should you not just simply not use those
features of Zend_Db_Table and just let InnoDB do the work?
Tom
On 22 May 2009, at 10:22, Andrew Collington wrote:
> iceangel89 wrote:
>> i wa wondering if there is anyway i can generate DB Models from my
>> InnoDB DB
>> with FK relationships setup. so probably dependentTables and
>> referenceMap
>> can be automatically setup?
>>
> Hi,
>
> This may give you a start on doing what you want:
>
> http://blog.amnuts.com/2008/04/11/auto-generating-basic-models-for-a-zend-framework-app/
>
> Regards,
>
> Andy
>
没有评论:
发表评论