v0.0.540 handle ct=nil same as ct=Start
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m25s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m25s
This commit is contained in:
@@ -10,6 +10,10 @@ import (
|
||||
)
|
||||
|
||||
func (c *Coll[TData]) List(ctx context.Context, filter ct.Filter, pageSize *int, inTok ct.CursorToken) ([]TData, ct.CursorToken, error) {
|
||||
if inTok == nil {
|
||||
inTok = ct.Start()
|
||||
}
|
||||
|
||||
if ctks, ok := inTok.(ct.CTKeySort); ok {
|
||||
d, tok, err := c.listWithKSToken(ctx, filter, pageSize, ctks)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user