forked from go-kivik/couchdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This uses an ugly hack to keep the standard rows iterator from closing the HTTP body when it reaches the end: It sets the body to nil. I think there's room now to consolidate the `rows` and `multiQueriesRows`. My initial thought was to expand `rows`, but now that I have two implementations, I believe it would make more sense instead to consolidate everything in to `multiQueriesRows`. It already has a few special cases anyway.
- Loading branch information
Showing
4 changed files
with
67 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
([]interface {}) (len=4) { | ||
(map[string]interface {}) (len=1) { | ||
(string) (len=3) "_id": (string) (len=13) "_design/_auth" | ||
}, | ||
(map[string]interface {}) (len=2) { | ||
(string) (len=3) "EOQ": (bool) true, | ||
(string) (len=10) "total_rows": (int64) 1 | ||
}, | ||
(map[string]interface {}) (len=1) { | ||
(string) (len=3) "_id": (string) (len=13) "_design/_auth" | ||
}, | ||
(map[string]interface {}) (len=2) { | ||
(string) (len=3) "EOQ": (bool) true, | ||
(string) (len=10) "total_rows": (int64) 1 | ||
} | ||
} |