我需要在GAE一个简单的应用:谷歌应用程序引擎的数据库模型
我有用户:
public User {
private @Id Long id;
private String name;
}
和消息
private Message {
private @Id Long id;
private Key sender;
private Key reciever;
private Date sendDate;
}
的问题是: 我需要的所有fetch由dandDate排序的给定用户发送和接收的消息。
我想我选择了错误的模型。
你能告诉我什么吗?
谢谢。
如果我没有误会,则无法在BigTable查询中使用“OR”。 – 2010-06-22 16:47:29