[Date Prev][Date Next]
Re: Can there be any hierarchy in attributes (ITS#896)
> 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
> Amit Rai
> IIT kharagpur
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