Forums / Setup & design / What is the best datatype for my this

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

What is the best datatype for my this

Author Message

Softriva .com

Thursday 30 November 2006 12:03:32 am

Dears,

I have make the following class:

Fathers name (text)
Age (text)
Children (the number of children is unknown)

So what is the best datatype for Children. I am thinking to use Matrix but just wanted to see what you guys/gals do.

I want also to be able search for all children uniquely and only list distinct names.

OOzy

Xavier Dutoit

Thursday 30 November 2006 3:42:57 am

I'd create new nodes for the children as children of the father (pun intended).

X+

http://www.sydesy.com

Softriva .com

Thursday 30 November 2006 5:51:20 am

How?

Where can I enter the children names. Bare in mind that I am creating the class. What is the datatype I need to create for the children?