Skip to content

Commit 018aa89

Browse files
authored
remove error argument from close callback (#120)
1 parent ed4abce commit 018aa89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/api/5-cursor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ cursor.read(100, (err, rows) => {
7676

7777
## close
7878

79-
### `cursor.close(callback: (err: Error) => void) => void`
79+
### `cursor.close(callback: () => void) => void`
8080

8181
Used to close the cursor early. If you want to stop reading from the cursor before you get all of the rows returned, call this.

0 commit comments

Comments
 (0)