returns a new Cursor with an embedded copy of itself
(table *TableSchema, startPaginationKey, maxPaginationKey PaginationKey)
| 47 | |
| 48 | // returns a new Cursor with an embedded copy of itself |
| 49 | func (c *CursorConfig) NewCursor(table *TableSchema, startPaginationKey, maxPaginationKey PaginationKey) *Cursor { |
| 50 | return &Cursor{ |
| 51 | CursorConfig: *c, |
| 52 | Table: table, |
| 53 | MaxPaginationKey: maxPaginationKey, |
| 54 | RowLock: true, |
| 55 | lastSuccessfulPaginationKey: startPaginationKey, |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | // returns a new Cursor with an embedded copy of itself |
| 60 | func (c *CursorConfig) NewCursorWithoutRowLock(table *TableSchema, startPaginationKey, maxPaginationKey PaginationKey) *Cursor { |
no outgoing calls
no test coverage detected