Search
Categories
- Getting Things Done (RSS) (3)
- SEO (RSS) (1)
- Web Development (RSS) (86)
a quick post to note how to truncate the table using propel:
Propel::getConnection(‘connection_name’)->executeUpdate(‘TRUNCATE TABLE put_table_name_here’);
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, field2 from [...]
Recent Comments