[GODRIVER-97] Make separate Tailable() and TailableAwait() user options Created: 27/Sep/17 Updated: 06/Jul/18 Resolved: 06/Jul/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Samuel Rossi (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Options Management |
| Description |
|
Currently, the API for specifying the cursor type of a query requires calling the yamgo.CursorType() function with an option.CursorType argument. We should replace the yamgo.CursorType() function with two separate functions, yamgo.Tailable() and yamgo.TailableAwait(). |
| Comments |
| Comment by Jeffrey Yemin [ 03/Jul/18 ] |
|
I think it's fine too. Java driver has done it this way for years and no one has complained about it. |