[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-recutils] A new field type?
From: |
Jose E. Marchesi |
Subject: |
Re: [bug-recutils] A new field type? |
Date: |
Mon, 07 Feb 2011 19:30:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
I am reconsidering the usage of compound field names for making
references. Your suggestion of using a field type in the record
descriptor has the advantage of completely separate the "data" records
from the "metadata". Much like the rest of the rec spec. I like it.
We can reserve the compound field names to implement some other facility
in the future.
Something I would change in your suggestion is how the type is used. I
prefer to implement something like:
%type: maintenance rec Asset
Note the 'rec' type name. It is like 'enum' or 'int'. You could even
define several foreign keys, like in:
%type: originator,assignee rec Hacker
--
Jose E. Marchesi address@hidden
GNU Project http://www.gnu.org