2014-01-07 72 views
1

我萃取下面的片段從油滑表定義:油滑投影算子/方法文檔

object Person extends Table[(String, String, Int)]("person"){ 
    ... 
    def firstName = column[Long]("firstName") 
    ... 
    def * = firstName ~ lastName ~ age 
} 

我的問題是:其中在油滑scaladocs定義的〜投影算子/方法?任何人都可以請我指向scaladoc中的相關鏈接?

回答

2

這裏你去:Column。有

final def ~[U](b: Column[U]): Projection2[T, U] 
+0

使用參考文檔:http://slick.typesafe.com/doc/1.0.1/api/#index.index-_和控制+ F:左上角的搜索欄下面這些信件。 – pedrofurla