【发布时间】:2013-07-03 17:51:27
【问题描述】:
我想识别使用 Google OAuth 服务的用户。这将返回一个googleId,它是 2^67,因此它不适合我当前用作表中主键的长数据类型。因此,我想将 googleId 存储在 StringField 中。
但是,这不起作用,因为我无法让 Where 子句起作用:
where(u.googleId.is === id)
产生错误value === is not a member of u.googleId.MyType。
我是这样定义的:
val googleId = new StringField(this, "")
如何在 where 子句中使用 StringField 选择数据?
提前致谢
弗洛
【问题讨论】: