google cloud datastore - GAE problem at getting results from a simple query in deployment -


hy!

i have dataviewer open @ kind named survey; there row has year=2010;

then when open app , run query survey of 2010 got no results.

q = survey.all() q.filter('year', data['year']) surveys = q.fetch(1) #json = survey[0].to_json() #key = survey[0].key() return surveys 

data['year'] exists; , in development server works;

i think might has problems namespace kind? or dont know how fix it? thanks


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -