我正在使用Phantom 1.26.6。 // id is the primary key
case class Motorcycle(id:String, model:String, made:String, capacity:Int)
给摩托车,它已经存在于卡桑德拉的实例,我会 想更新模型的价值,制成容量。 // The following does not compile.
upda
我使用幻影连接cassandra在播放框架。创建了教程之后的第一堂课。一切正常。 case class User(id: String, page: Map[String,String])
sealed class Users extends CassandraTable[Users, User] {
object id extends StringColumn(this) wit
我的情况下,该类包含枚举参数类似如下: case class User(role: UserRole.UserRole, name: String)
object UserRole extends Enumeration {
type UserRole = Value
val ADMIN, USER = Value
}
如何这种情况下建模为例子: https://gi