gql
Is there a way to set all db queries to only retrieve a given user's entries, or would each query throughout the app have to include "AND user..."?
I created an app that lets users input products and compare them. I am at the point where i need to consider scaling and multiple users, and I want to only show users the items that they\'ve created ([详细]
2023-02-02 04:47 分类:问答Portion of expression could not be parsed: AND
I know this is basic, but I just can\'t get a select statement with an AND in the where clause to work in GQL.I\'ve boiled the problem down开发者_StackOverflow社区 to this[详细]
2023-01-30 07:22 分类:问答GQLQuery with_cursor not working
wondering if anyone knows why using cursors with GQLQuery doesn\'t seem to be working properly. I\'m running the following.[详细]
2023-01-28 18:20 分类:问答GQL Random Record [duplicate]
This question already has answers here: Closed 12 years ago. Possible Duplicate: Fetching a random record from the Google App Engine Datastore?[详细]
2023-01-28 15:55 分类:问答google app engine GQL, How to do pagination with datetime with millisecond accuracy
Hi I have an issue on querying for subsecond accuracy queries from GQL.. Wondering if anyone had similar issues or workarounds.[详细]
2023-01-27 14:59 分类:问答Why doesn't my GQL query return any results in my GAE App?
I have mostly followed a tutorial about how to build a gustbook using GAE and Python. Now I only want to show the entries from a particular day, but the GQL query doesn\'t return anything (although th[详细]
2023-01-24 05:11 分类:问答Getting The Most Recent Data Item - Google App Engine - Python
I need to retrieve the most recent item added to a collection. Here is how I\'m doing it: class B开发者_如何转开发ox(db.Model):[详细]
2023-01-21 04:27 分类:问答Finding the maximum value in a column using GQL
How do I find the maximum value in a particular column of a table 开发者_如何学Goin the GAE datastore using GQL?To get the max you using GQL, you could do this:[详细]
2023-01-19 06:43 分类:问答How to construct GQL to not contain a value from a set?
Is it possible to select from a google app engine db where the key of a db.Model object is not in a given list?If so, what would be the syntax?[详细]
2023-01-18 07:02 分类:问答Altering data in GQL
I need to change values for an entry, but the following code doesn\'t work. logList = db.GqlQuery(\"SELECT * FROM Log ORDER BY date DESC LIMIT 1\")[详细]
2023-01-17 15:02 分类:问答