Skip to content

add array filter with apply - #267

Merged
jiangz222 merged 4 commits into
qiniu:masterfrom
xsean2020:feature_applyWithArrayFliter
Jan 20, 2023
Merged

jiangz222 merged 4 commits into
qiniu:masterfrom
xsean2020:feature_applyWithArrayFliter

Conversation

@xsean2020

Copy link
Copy Markdown
Contributor

add array filter with apply

Comment thread query.go Outdated
}

if change.ArrayFilters != nil {
opts.ArrayFilters = change.ArrayFilters

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use SetArrayFilters() would be better

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update With SetArrayFilters

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean

	if q.arrayFilters != nil {
		opts.ArrayFilters = q.arrayFilters
	}

should be

	if q.arrayFilters != nil {
		opts. SetArrayFilters(q.arrayFilters)
	}

@jiangz222
jiangz222 merged commit 71ef4a2 into qiniu:master Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants