<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
<rss version="0.92">
<channel>
	<title>Digital Base - Blog &#187; database</title>
	<link>http://www.digitalbase.eu/blog</link>
	<description>A blog about webdesign, PHP, development and IT</description>
	<lastBuildDate>Mon, 10 May 2010 16:16:55 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Xajax driven CriteriaBuilder for Propel / php</title>
		<description>Earlier this week, I talked about our custom datagrid for Propel and
how it was being rewritten to interact with our CriteriaBuilder (read
more). Well, I'll give you another glance into our coding
efforts.
Goal
We wanted to make
an object, which would manipulate the data being shown in our
grid_propel. For normal people, this means: to ...</description>
		<link>http://www.digitalbase.eu/blog/xajax-driven-criteriabuilder-for-propel-php/</link>
			</item>
	<item>
		<title>Simplifying Queries: Using sum, count, etc in Propel</title>
		<description>Simplifying Queries: Using sum, count, etc in Propel
$c-&#62;addSelectColumn('sum('.dbTimeBlockPeer::TOTAL.') as total');
$rs = dbTimeBlockPeer::doSelectRS($c);
while ($rs-&#62;next()) { $total = $rs-&#62;getInt(1); }
So, simply use addSelectColumn. You have to work with the ResultSet offcourse, since you won't be able to populateObjects.

In this case you can simply use '1' in getInt(column index), since we're sure only ...</description>
		<link>http://www.digitalbase.eu/blog/simplifying-queries-using-sum-count-etc-in-propel/</link>
			</item>
</channel>
</rss>
