HomeDev guideAPI ReferenceGraphQL
Dev guideUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Filter by IDs

Filter docmuments by IDs.



The Optimizely Graph .NET Client is in beta. Contact your Customer Success Manager for information.

The Ids method is used to get documents by Guid. The argument is an array of Ids.

var query = queryBuilder
  .Ids(β€œguid1”, β€œguid2”)  

var content = (await query.GetResultAsync<MyDocument>()).Content;

For information, see Guid filtering.