Connecting the dots...
Thoughts on Web Development, Scalability and Application Architecture
  • Home
  • About Rajat Pandit
  • Contact
Browse: Home / propel

propel

truncate table propel style.

By rp on July 30, 2009

a quick post to note how to truncate the table using propel:

Propel::getConnection(‘connection_name’)->executeUpdate(‘TRUNCATE TABLE put_table_name_here’);

Posted in Web Development | Tagged mysql, propel, Symfony | Leave a response

Writing a Criteria statement for the IN Operator

By rp on April 16, 2009

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 [...]

Posted in Web Development | Tagged array, criteria, propel, sql statement, Symfony | Leave a response

Search

Sponsored Links

Dreamhost Rewards

Symfony Experts

Categories

  • Getting Things Done (RSS) (3)
  • SEO (RSS) (1)
  • Web Development (RSS) (86)

Recent Comments

  • zakaria on Skype audio playback and capture problem on ubuntu 8.10
  • Allen on sfDoctrineGuardPlugin: Signup, Validation and Profile
  • Susan on Creating utf-8 tables in symfony 1.4 /doctrine 1.2
  • Tynisha Cooper on FOWA 2008
  • Affordable Web Development on Making footer stick to the bottom of the page

Tags

accessiblity Add new tag apache 2 array bot build process Clean CSS dependencies development doctrine email gmail googl hack irc Javascript JeOS leopard linux mac macfusion mail namespaced OSX pear perl php propel protocol quit now search SEO simplexml ssh sshfs svn Symfony synchronization Ubuntu upgrade validation variants Yahoo! yahoo search

Copyright © 2010 Connecting the dots....