Merge pull request #411 from dirk-olmes/docfix

Fix table layout for the change operation
This commit is contained in:
James Sumners 2019-08-26 09:00:22 -04:00 committed by GitHub
commit 068ea4e163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -168,9 +168,11 @@ A `Change` object maps to the LDAP protocol of a modify change, and requires you
to set the `operation` and `modification`. The `operation` is a string, and to set the `operation` and `modification`. The `operation` is a string, and
must be one of: must be one of:
||replace||Replaces the attribute referenced in `modification`. If the modification has no values, it is equivalent to a delete.|| | Operation | Description |
||add||Adds the attribute value(s) referenced in `modification`. The attribute may or may not already exist.|| |-----------|-------------|
||delete||Deletes the attribute (and all values) referenced in `modification`.|| | replace | Replaces the attribute referenced in `modification`. If the modification has no values, it is equivalent to a delete. |
| add | Adds the attribute value(s) referenced in `modification`. The attribute may or may not already exist. |
| delete | Deletes the attribute (and all values) referenced in `modification`. |
`modification` is just a plain old JS object with the values you want. `modification` is just a plain old JS object with the values you want.