ClassModelList::updateXref()DeprecatedPlease use the Relations instead.
This function is used to automate the links creation and destruction with simplified command. After saving an item, if the POST query has sent more datas concerning relations with other tables, this function must be called.
N:M Use (many-to-many)The links are database rows. This following example is written in traveller (item) model:
N:1 UseForeign Keys are widly used in Cook, but what happen when we want to set up those links from the opposite side ? The links are made with simple foreign keys in opposite table. This following example is written in country (item) model |
|
I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.