我正在phantom
按照 wiki 上的布局 tut 从外包人员那里尝试。
我正在使用测试模型:
case class User (id: String, name: String, friends: List[String])
和:
import com.websudos.phantom.dsl._
class Users extends CassandraTable[Users, User] {
object id extends StringColumn(this) with PartitionKey[String]
object name extends StringCoumn(this)
object friends extends ListColumn[String](this)
}
该ListColumn[String]()
论点this
被标记为错误,我认为我什至不应该费心构建。预期CassandraTable[String, User]
而不是this
.
我正在使用版本 1.29.6
我使用的版本与 wiki 示例不同吗?还是缺少其他东西?