(class +Country +Entity)
(rel code (+Need +Key +String))
(rel desc (+Need +String))

..

(obj ((+Country) code "us") desc "")
(commit)

(obj ((+Country) code "ar") )
(commit)

As far as I know, +Need prefix make the filed mandatory, i.e. you
cannot skip it or give it an empty value when creating a new object.
You can drop +Need prefix for 'desc' field if it is a desired
behaviour.
-- 
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]

Reply via email to