Transfer and TQL

I love working with Transfer and Mark Mandel has done an amazing feat of giving it some really good documentation. But I remember when I was getting started I was looking for a rough guide to the TQL language for Transfer and how to implement it. So based on all the information at www.transfer-orm.com/transfer/documentation/ here's a quick start to TQL.

Please note: I am presuming you already know how to set up Transfer and have basic knowledge of how it works.

For this example here is our Transfer.xml configuration file:

view plain print about
1<package name="post">
2    <object name="Post" table="post_table">
3        <id name="postid" column="postid" type="numeric"/>
4        <property name="postText" type="string" column="postText" />
5        <property name="postDate" type="date" column="postDate" />
6    </object>
7</package>

Posted: 23-Oct-2007

View: 4037

Permalink: here

Comments

TQL is sweet. I've loved working with it, i even wrote a fusebox lexicon for it: http://www.succor.co.uk/index.cfm/2007/7/15/TQL-Tr...

#1 nick tong
23/Oct/07 1:39 AM

Just as an FYI, the included Transfer template on my Illudium PU-36 Code Generator actually generates a generic gateway component utilizing TQL.

#2 Brian Rinaldi
23/Oct/07 6:22 AM