Handling Multi-Valued Attributes
Some attributes, like groups, support the ability to have multiple values and are stored as a list. In order to model this, you will put each value on a separate row for that field. All additional values should be repeated.
ID |
name |
... |
groups |
... |
This header row will be skipped. |
---|---|---|---|---|---|
1 |
jdoe |
... |
Admins |
... |
This is the first account. |
1 |
jdoe |
... |
Employee |
... |
|
2 |
msmith |
... |
Employee |
... |
This is the second account. |
Note
The name
attribute is a single-valued attribute.
This will yield jdoe with Admins and Employee groups, and msmith with a single Employee group.