Issue 896 - Can there be any hierarchy in attributes
Summary: Can there be any hierarchy in attributes
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-17 20:26 UTC by Amit Rai
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Amit Rai 2000-11-17 20:26:27 UTC
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
Comment 1 kunkee@openldap.org 2000-11-17 20:28:53 UTC
> 
> 
> 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.
Comment 2 Kurt Zeilenga 2000-12-27 11:00:26 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:06:13 UTC
question