Packages

case class Table(tableName: String, tableCols: Cols, priKey: Cols) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Table
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Table(tableName: String, col: Col, priKey: Col)
  2. new Table(tableName: String, tableCols: Cols, priKey: Cols)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aggregateSQLString(aggregates: Aggregates, wheres: Wheres, groupByIntervals: GroupByIntervals, havings: Havings): String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def assertColExists(c: Col): Unit
  7. val autoIncrCols: Array[Col]
  8. val autoIncrementCol: Option[Col]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. val colNames: Array[String]
  11. def countSQLString(wheres: Wheres): String
  12. def createFkLinkString(link: Link): String
  13. def createIndexString(cols: Cols): String
  14. def createSQLString(isPostGreSQL: Boolean): String
    Attributes
    protected[db]
  15. def deleteSQLString(search: Wheres): String
  16. def dropFkLinkString(link: Link): String
  17. def dropIndexString(cols: Cols): String
  18. def dropSQLString: String
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getFKConstraintName(link: Link): String
  23. def getFKConstraintStr(link: Link): String

    http://stackoverflow.com/a/2499396/243233 http://stackoverflow.com/a/16792904/243233 http://stackoverflow.com/a/14072931/243233

  24. def getFKConstraintStrPostgreSQL(link: Link): String
  25. def getH2ExportStr(file: String, wheres: Wheres): String
  26. def getH2ExportStr(file: String, cols: Cols, wheres: Wheres): String
  27. def getH2ExportStr(file: String, aggregates: Aggregates, wheres: Wheres, groupByIntervals: GroupByIntervals, havings: Havings): String
  28. def getH2ImportStr(file: String): String
  29. def getIndexName(cols: Cols): String
  30. def getTableNames(selectCols: Cols, wheres: Wheres): String
  31. def incrementColsString(wheres: Wheres, increments: Increments): String
  32. def insertIntoSQLString(table: Table, aggregates: Aggregates, wheres: Wheres, groupByIntervals: GroupByIntervals, havings: Havings): String
  33. def insertIntoSQLString(table: Table, selectCols: Cols, wheres: Wheres)(implicit orderings: Orderings = Array(), limit: Int = 0, offset: Long = 0): String
  34. def insertSQLString(isPostGreSQL: Boolean): String
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. lazy val mySQLSchemaStr: String
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. lazy val postgreSQLSchemaStr: String
  41. val priKey: Cols
  42. val priKeyColNames: Array[String]
  43. def selectSQLString(selectCols: Cols, wheres: Wheres)(implicit orderings: Orderings = Array(), limit: Int = 0, offset: Long = 0): String
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. val tableCols: Cols
  46. val tableName: String
  47. def toString(): String
    Definition Classes
    Table → AnyRef → Any
  48. def updateSQLString[T](wheres: Wheres, updates: Updates[T])(implicit toWhere: (Update[_]) ⇒ Where = upd => Where(upd.col, Eq, upd.data)): String

    in the following the toOp gives the method of update for the cols (to be applied on update:Cols below).

    in the following the toOp gives the method of update for the cols (to be applied on update:Cols below). For example in normal update UPDATE Foo SET bar = "123" WHERE baz = "43" the other way this can be used is for increment (See incrementString below) UPDATE Foo SET bar = bar + 123" WHERE baz = "34"

    this op will be different in different cases

  49. def validateSchema(colList: List[(String, List[String])])(isPostGreSQL: Boolean): Unit
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def insertSQLStringOrig: String
    Annotations
    @deprecated
    Deprecated

    (Since version 22 Nov 2017) Below was without auto increment/default

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped