Google Datastore combine (union) multiple sets of entity results to achieve OR condition
问题 I am working with NodeJS on Google App Engine with the Datastore database. Due to the fact that Datastore does not have support the OR operator, I need to run multiple queries and combine the results. I am planning to run multiple queries and then combine the results into a single array of entity objects. I have a single query working already. Question: What is a reasonably efficient way to combine two (or more) sets of entities returned by Datastore including de-duplication? I believe this