Skip to content

Commit

Permalink
Clarify iteration sorting order. Fix dgraph-io#317.
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakjois authored Nov 13, 2017
1 parent 544eefa commit 53e623c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ metadata can be set using the `Txn.SetWithMeta()` API method.

### Iterating over keys
To iterate over keys, we can use an `Iterator`, which can be obtained using the
`Txn.NewIterator()` method.
`Txn.NewIterator()` method. Iteration happens in byte-wise lexicographical sorting
order.


```go
Expand Down

0 comments on commit 53e623c

Please sign in to comment.