[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Can there be any hierarchy in attributes (ITS#896)



> 
> 
> Hi,
> 
>   I am new to openldap .  As far as I understand the  attributes for an
> object is stored in a flat manner.  Can the attributes be stored in an
> hierarchal manner ??
> 
> Ex: Suppose I am storing information about hotels in my city, and I want
> 
> to check whether a double room is available in any hotel.  Can someone
> please suggest a suitable way of doing this ??
> 
> As far as I understand the object hotel should have an attribue Rooms,
> which should have two leaves say single and double, and then I store the
> 
> number of available rooms at each of the leaf.  got the idea??
> 
>  Please help me out !!  Any suggestion will be welcome
> 
> Regards,
> Amit Rai
> IIT kharagpur
> India
> 

Use a relational database instead.  Or some combination of the two.
The kind of query you want to do would be a snap for a relational
database.