Scaffolding's data?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Scaffolding's data?


Hi all, when I'm scaffolding, the information from belongsTo is
populated and a select box is provided as well,

The information is selected with the following SQL statement with

SELECT `RawMaterialsCategory`.`idxRawMaterialsCategory`,
`RawMaterialsCategory`.`Code`, `RawMaterialsCategory`.`Name` FROM
`raw_materials_categories` AS `RawMaterialsCategory` WHERE 1 = 1

How can I do this without scaffolding?

When I use findAll, I can't get the mysql query that selects the
required information to be triggered?

How should I do it then?

Thanks a lot

 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at