Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
推荐学习书目
›
Python Cookbook
›
Using Google App Engine
推荐下载
›
Latest Google App Engine SDK
其他兼容技术
›
AppScale
V2EX
›
Google App Engine
关于 Datastore 的一个限制
billychow
·
Nov 8, 2010
· 4597 views
This topic created in 5661 days ago, the information mentioned may be changed or developed.
BadArgumentError: First ordering property must be the same as inequality filter property, if specified for this query;
Properties In Inequality Filters Must Be Sorted Before Other Sort Orders
http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html
不知道各位碰到这个问题的同学是怎么解决的?
实在是没想到居然会有这个限制,早前怎么没看清楚呢?
property
specified
same
1 replies
•
1970-01-01 08:00:00 +08:00
1
keakon
Nov 8, 2010
数据量不大的话,全部取出来自己在内存里排序吧
我是基本上不用不等于操作和排序,这样就不需要建复合索引了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2585 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 16:05
·
PVG 00:05
·
LAX 09:05
·
JFK 12:05
♥ Do have faith in what you're doing.
❯