> > It appears that the unique attribute of the column tag of the
Torque
> > schema is not being put into the context. If I set unique="true"
in
> > the schema, it is not available to a template.
>
> Please give more details. How are you trying to use it.
>
In my schema I have a column description such as:
<column name="field" type="DATE" unique="true">
In a template, I have:
#if ($col.isUnique())
.
.
.
#end
The conditional code is never generated. In fact, if I put:
$col.isUnique()
in the template it always generates false regardless of the setting of
unique in the schema.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]