<?xml version="1.0"?><rss version="2.0">
   <channel>
      <title>Mengu.net - SQLAlchemy</title>
      <link>http://www.mengu.net/</link>
      <description>mengu on web programming.</description>
      <language>en-us</language>
      <pubDate>Sat, 19 May 2012 12:22:27 AM +0300</pubDate>

      <lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate>
      <generator>Mengu.net</generator>
      <managingEditor>mengu@mengu.net</managingEditor>
      <webMaster>mengu@mengu.net</webMaster>

            <item>
         <title>Subqueries With SQLAlchemy</title>
         <link>http://www.mengu.net/post/subqueries-with-sqlalchemy</link>
         <description><![CDATA[<p>I have been developing the new version of www.osesturkiye.com for the Turkish version of the show called "The Voice". It's already built with TurboGears, mako and SQLAlchemy. In the new version we have a gallery and many photos in it. My SQLAlchemy model is like this:</p>

<pre><code>class GalleryPhoto(DeclarativeBase):
    __tablename__ = 'gallery_photo'

    id = Column(Integer, primary_key=True)
    photo_image = Column(UnicodeText)
    photo_description = Column(UnicodeText)
    dateline = Column(DateTime, default=datetime.now)
</code></pre>

<p>The problem I have is, in the photo detail page I will display "Previous" and "Next" links. I can implement this with two ways..</p>
]]></description>
         <pubDate>2011-12-22 05:28:11</pubDate>
         <guid>http://www.mengu.net/post/subqueries-with-sqlalchemy</guid>
      </item>
          </channel>
</rss>

