python - Google app engine: Queries -



python - Google app engine: Queries -

i have table foo foos stored , if log in via browser , list foos there 1 foo id=12. have code:

logging.info(fid) q = db.gqlquery("select * foo id = :1", fid) logging.info(list(q))

which prints

12 []

if q.fetch(4) still gives me index out of range. doing wrong? help!

read doc. can't query raw id, need create key object.

python google-app-engine

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -