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?
#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?