Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8377063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:34:24+00:00 2026-06-09T15:34:24+00:00

In the docs it says that there is no way to query for entities

  • 0

In the docs it says that there is no way to query for entities that do not include a tag equal to a specific value: https://developers.google.com/appengine/docs/python/ndb/queries#neq_and_in

I have a set of entities, each entity has a set of tags. I need to find those entities WITHOUT a specific tag. Is there any workaround for the ndb query limitation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:34:24+00:00Added an answer on June 9, 2026 at 3:34 pm

    Every time you create/update an entity, it’s indexes are updated based on values of it’s properties.

    If a property does not exist or a list property does not contain a value (= tag in your case), then there is no entry for it in the index. Since queries rely in indexes to find stuff, it will not be found.

    This is not a NDB query limitation, but rather a GAE datastore limitation, meaning that all APIs accessing it have this limitation (Java/Python/Go , low-level API, etc..).

    AFAIK, there is no direct way around it. You can code around it by getting all Articles and then checking in code for those missing the tag, but this can be costly depending on the number of articles.

    You might want to create a new question and describe the problem in detail from application perspective: what is the end result you are trying to achieve?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://developers.facebook.com/docs/reference/plugins/comments/ It says there that: The mobile version will automatically show up when a
sometimes signals in django are triggered twice. In the docs it says that a
http://developers.facebook.com/docs/reference/api/post/ In Comments -> Create section it says: You can write to the POST_ID/comments
On the twitter Rate Limiting page( https://dev.twitter.com/docs/rate-limiting ) it says Unauthenticated calls are permitted
first of all this is the feature I'm trying to work out: https://developers.facebook.com/docs/opengraph/define-units/ (under
The following article http://docs.oracle.com/javaee/1.4/tutorial/doc/JAXPXSLT3.html says that XPATH considers the following to be nodes: Root
In apple's docs:( http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/OpenGLESPlatforms/OpenGLESPlatforms.html ) it says that for OpenGL ES 1.1 on the
java docs says: A pool of strings, initially empty, is maintained privately by the
so live docs says this for calling .lenght() on an XML object For XML
the active admin docs says: If you are using Rails >= 3.1, you must

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.