擅长:python、mysql、java
<p>如果您习惯于使用关系数据库,那么googleappengine可能看起来不太寻常。查询语法非常有限。与将所有内容放入一个简单的表和编写复杂的查询不同,您必须将所有内容放入复杂的数据结构中,然后编写简单的查询。在</p>
<p>您应该习惯于创建几个不同的实体,通常每个主键对应一个可能的查询。在这种情况下,您应该有一个UniqueEmailAddress或类似的实体。每次添加记录时,获取具有该名称的UniqueEmailAddress并对其进行更新,如果不存在,则创建它。然后你可以直接查询UniqueEmailAddress。在</p>