Connecting the dots…

Thoughts on Web Development, Scalability and Application Architecture

Tag: propel

truncate table propel style.

a quick post to note how to truncate the table using propel: Propel::getConnection(‘connection_name’)->executeUpdate(‘TRUNCATE TABLE put_table_name_here’);

Writing a Criteria statement for the IN Operator

This is going to be a quick post as I needed to write this done as its quite useful for anyone who either doesnt like or doesnt understand how the complex criteria objects work. If you want to write code for a criteria object for the SQL statement which is something like this. SELECT field1, [...]