Skip to content

Commit e4a690c

Browse files
author
James Halliday
committed
fix keys
1 parent 052f663 commit e4a690c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

leveldb.markdown

+4-4
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ This will let us efficiently query for a user's posts:
207207

208208
``` js
209209
db.createReadStream({
210-
gt: "user!substack",
211-
lt: "user!substack!~"
210+
gt: "post!substack",
211+
lt: "post!substack!~"
212212
})
213213
```
214214

@@ -229,8 +229,8 @@ or with bytewise:
229229

230230
``` js
231231
db.createReadStream({
232-
gt: ["user","substack",null],
233-
lt: ["user","substack",undefined]
232+
gt: ["post","substack",null],
233+
lt: ["post","substack",undefined]
234234
})
235235
```
236236

0 commit comments

Comments
 (0)