Skip to content

Filtering by collection with values of primitive types #141

Answered by alirezanet
uxohotteixo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @uxohotteixo,

Maybe try something like this:

query = new QueryBuilder<User>()
	.AddMap("email", q => q.Emails.Select(q => q)) // you can also use GridifyMapper AddMap method
	.AddCondition("email =* [email protected], email =* secondEmail.test.com") // this is also same as AddFiltering extension
	.Build(query);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uxohotteixo
Comment options

Answer selected by uxohotteixo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants