Thursday, July 30, 2009

Re: executing no realtionship tables

you still should set up a Model for your table. there are a number of
methods for working with your data, like var $uses, bindModel, etc

this should get you started:

http://book.cakephp.org/view/86/Creating-and-Destroying-Associations-on-the-Fly

On Jul 30, 4:22 pm, abhishekh <timba...@gmail.com> wrote:
> Hi, I have some static tables in my database. they have no relationship with
> any other tables. That table store read only data. How do I fetch data from
> that table, without writing any custom query, from any model.....?
> --
> View this message in context:http://www.nabble.com/executing-no-realtionship-tables-tp24746659p247...
> Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: