db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian Dai" <jack2...@comcast.net>
Subject How to configure database schema
Date Wed, 23 Jul 2003 07:04:56 GMT
Hi, All:

I am trying to edit the database schema of torque. I need
to give limited value for a special column. But I am not sure
where I can put this information. 

I guess that I should put this information into "inputValidator"
attribute for column element. If so, how may I put multimple values
into that attribute?

For example, I need to define a user's gender as male or female, what 
I am trying to do in this way

<column name="gender" 
        ..............
        inputValidator="male|female"
        ....>
     ................
</column>

Is this the right way to do? It is highly appreciated if somebody can give 
me a clue. Many thanks in advance. 

Jack


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message