Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ndb

Name: Anonymous 2013-08-05 2:53

Now now exist so put this here:

#I am idiot newb and need help Google app engine ndb.
#using python.

#when I have:
class House(ndb.Model):
----doorColor = ndb.DoorColorPoopSmeerProperty(poop=True)

#and I make an instance:
myHouseBitch = House(doorColor=fuglyColorForDoor)

#I can see key:
key = myHouseBitch.put()

#BUT HOLD ON A GOLDDARN SECOND!
#I want this house to be a child of an instance of Block(ndb.Model):
----key = ndb.Key("Block", "instanceOfBlock", "House", "myHouseBitch")
#and I want to make lots of houses on this block and own them!
#and I want to do things with them, like count them or iterate through them! How DOES THIS SHIT WORK!?!?
Is the first key the key, but this also the key? WTF? What is a key?

Name: Anonymous 2013-08-05 3:10

I broke a rule and this is a shitty joke of yours? Or did you make a mistake and actually have a website I could learn from?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List