HEy guys and gals,
Is there a SELECT builder function somewheres included in the framework?
I've browsed through the code... but perhaps I missed it?
Thanks!
The method chaining going on underneath the covers with Recess models is building a SELECT statement.
For example, supposing you had a User model that represents the users table in the database. This Recess command:
Make::a('User')->equal('email', 'kris@newmediacampaigns.com');
Becomes: 'SELECT * FROM users WHERE email = "kris@newmediacampaigns.com"
For more info check out this quick tutorial: http://www.recessframework.org/page/recess-models-at-a-glance
Thanks for the response, Kris! I really love what you are doing with this framework...
I actually meant to ask about the form classes but I didn't formulate my question very well -- I see how to generate DateTime form elements, and Text elements and so on, I was wondering about rendering a select - option input automatically...
Cheers!
Don