Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit c92ad87

Browse files
Xotlpfmooney
authored andcommitted
Update documentation about paged option
1 parent 0e91a06 commit c92ad87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/client.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ containing the following fields:
204204
|attrsOnly |boolean on whether you want the server to only return the names of the attributes, and not their values. Borderline useless. Defaults to false.|
205205
|sizeLimit |the maximum number of entries to return. Defaults to 0 (unlimited).|
206206
|timeLimit |the maximum amount of time the server should take in responding, in seconds. Defaults to 10. Lots of servers will ignore this.|
207-
|paging |enable and/or configure automatic result paging|
207+
|paged |enable and/or configure automatic result paging|
208208

209209
Responses from the `search` method are an `EventEmitter` where you will get a
210210
notification for each `searchEntry` that comes back from the server. You will
@@ -284,13 +284,13 @@ Many LDAP server enforce size limits upon the returned result set (commonly
284284
is passed between the client and server to iterate through the entire dataset.
285285
While callers could choose to do this manually via the `controls` parameter to
286286
`search()`, ldapjs has internal mechanisms to easily automate the process. The
287-
most simple way to use the paging automation is to set the `paging` option to
287+
most simple way to use the paging automation is to set the `paged` option to
288288
true when performing a search:
289289

290290
var opts = {
291291
filter: '(objectclass=commonobject)',
292292
scope: 'sub',
293-
paging: true,
293+
paged: true,
294294
sizeLimit: 200
295295
};
296296
client.search('o=largedir', opts, function(err, res) {

0 commit comments

Comments
 (0)