How to query entities in 8.x?
See original GitHub issueCloudTable.ExecuteQuery
is no longer public in 8.x, and I haven’t been able to find a single sample or piece of documentation that explains how to query entities.
Previously, I could do something like this:
var query = new TableQuery<MyEntity>();
foreach (var entity in table.ExecuteQuery(query))
{
...
}
Must also queries use ExecuteQuerySegmentedAsync
now?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Using a EntityQuery to query data | Entities | 0.8.0-preview.8
For simple queries, you can create a EntityQuery based on an array of component types. The following example defines a EntityQuery that finds...
Read more >Most efficient way to do simple Entity API queries by node id ...
A very basic 8.x API question. What is the approved/simplest methods of confirming a node matching a certain content type and ID exists,...
Read more >Working with the Entity API
Working with the Entity API · Check if an object is an entity or a content entity · Get information from entity methods...
Read more >Added an entity query access API
The module now ships with an entity query access API, which alters entity queries and views to only list the entities that the...
Read more >Introducing an HTTP API for Drupal 8 Entity Queries
Entity Query API allows API consumers to make queries against any entity in Drupal. From users, to nodes, to configuration entities, this is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@erezvani1529 thanks, that is useful to know. It would be great if these samples and the getting started guide could be updated to show correct useage from .NET Core.
Because of the fact that no async enumerables exist, it’s not feasible to have an executequery method in an async paradigm (see #94 ).