[google-appengine] ListProperty

2008-10-26 Thread Paul Kinlan
Hi, I have been unable to find an answer to this question on the archives. So without trying I would like to ask the group a question. Is the limit to the number of items in a ListProperty 1000? I ask because the limit to the number of results in a Query is 1000 and if the data in the list is s

[google-appengine] ListProperty djangoforms

2010-08-10 Thread Vinicius Ruan Cainelli
Hello everybody, First I feel very happy to join this great group and sorry for my english (I'm Brazilian) My name is Vinicius Cainelli and still am new to Python and especially Google App Engine. Well, I wonder if there is a possibility Module djangoforms Multselect to generate a data type ListP

[google-appengine] ListProperty costs

2012-11-05 Thread Guillaume
Hi all, I want to query all entities with a property (called "cost") within a given range, and order the results according to another property (called "score"). Both are integers. According to the doc, I cannot do that because I should order by the "cost" first... Then I thought I could use a

[google-appengine] ListProperty and Scale?

2010-03-23 Thread jpuopolo
All, I am building an application where I need to model a 1-many relationship. The "many" side of the relationship needs to scale to about 1 million items at maximum. In his talk, Building Scalable and Complex Apps, Brett Slatkin suggests using ListProperty to model this type of relationship; howe

[google-appengine] ListProperty vs StringListProperty

2009-08-09 Thread Jeff Enderwick
Hey all, is there any datastop/API overhead difference between these two? Is there any difference in index (or lack thereof) maintenance by the datastore? Thanks, Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] ListProperty and Indexes

2008-10-28 Thread Adam Blinkinsop
I've got a search application up (see http://beta.mtgcauldron.com/) that uses a ListProperty on each object as a list of stemmed words to search by. This works great for simple searches (http:// beta.mtgcauldron.com/search?q=white+2%2F2 and http://beta.mtgcauldron.com/search?q=black+enchantment r

Re: [google-appengine] ListProperty and Scale?

2010-03-23 Thread 'Αλκης Ευλογημένος
You can have multiple "indexes" on the many side. Decouple the ListProperty in its own model and use a key only query to find the ancestor key. Then a db.get will get you what you want. Example: class Dude(db.Model): name = db.StringProperty() class DudeIndex(db.Model): relates_to = db.Strin

[google-appengine] LIstProperty don't append elements

2009-11-30 Thread david
Hi, I have: class Posicion(db.Model): id = db.StringProperty() latitud = db.ListProperty(int) def post(self): _id = self.request.get("id") _latitud = int(self.request.get("latitud")) query_str = "SELECT * FROM Posicion WHERE id = '" + _id +"'" posicion = db.GqlQuery (query_str) if

[google-appengine] ListProperty substring matching and filtering

2009-07-03 Thread cerea
Hi, I'm new to app engine & coding in general, so any help or advice would be greatly appreciated. Background: I am making a blog and each page has a list of keywords stored in a db.StringListProperty. Those keywords will be used when someone searches the site. I also want each keyword to have a

Re: [google-appengine] LIstProperty don't append elements

2009-11-30 Thread OvermindDL1
On Mon, Nov 30, 2009 at 12:36 PM, david wrote: >  _id = self.request.get("id") >  _latitud = int(self.request.get("latitud")) >  query_str = "SELECT * FROM Posicion WHERE id = '" + _id +"'" >  posicion = db.GqlQuery (query_str) Just word of warning, you are setting yourself up for a major gql inj

Re: [google-appengine] LIstProperty don't append elements

2009-11-30 Thread Eli Jones
You aren't doing .fetch() on your gqlquery. On 11/30/09, david wrote: > Hi, I have: > > class Posicion(db.Model): > id = db.StringProperty() > latitud = db.ListProperty(int) > > def post(self): > _id = self.request.get("id") > _latitud = int(self.request.get("latitud")) > query_str = "S

[google-appengine] ListProperty equals to and makes entity unreadable

2012-11-01 Thread jay_m
A few days ago I ran some data migration process that resulted in a few number pf oddities that I am trying to fix with. Here's my situation - I hope one of you out there could help. Background: My app had a User model with two StringPropertyList properties representing a 1:many relationship b