INNER CODE UNIT · Go

func

gobeam/mongo-go-pagination · pagingQuery.go:71

func (paging *pagingQuery) SetCollation(collation *options.Collation) PagingQuery {
	paging.Collation = collation
	return paging
}

// Decode is function to decode result data
func (paging *pagingQuery) Decode(decode interface{}) PagingQuery {
	paging.Decoder = decode
	return paging
}

func (paging *pagingQuery) Context(ctx context.Context) PagingQuery {
	paging.Ctx = ctx
	return paging
}

// Select helps you to add projection on query
func (paging *pagingQuery) Select(selector interface{}) PagingQuery {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…