case class Table(tableName: String, tableCols: Cols, priKey: Cols) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Table
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aggregateSQLString(aggregates: Aggregates, wheres: Wheres, groupByIntervals: GroupByIntervals, havings: Havings): String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertColExists(c: Col): Unit
- val autoIncrCols: Array[Col]
- val autoIncrementCol: Option[Col]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val colNames: Array[String]
- def countSQLString(wheres: Wheres): String
- def createFkLinkString(link: Link): String
- def createIndexString(cols: Cols): String
-
def
createSQLString(isPostGreSQL: Boolean): String
- Attributes
- protected[db]
- def deleteSQLString(search: Wheres): String
- def dropFkLinkString(link: Link): String
- def dropIndexString(cols: Cols): String
- def dropSQLString: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFKConstraintName(link: Link): String
-
def
getFKConstraintStr(link: Link): String
http://stackoverflow.com/a/2499396/243233 http://stackoverflow.com/a/16792904/243233 http://stackoverflow.com/a/14072931/243233
- def getFKConstraintStrPostgreSQL(link: Link): String
- def getH2ExportStr(file: String, wheres: Wheres): String
- def getH2ExportStr(file: String, cols: Cols, wheres: Wheres): String
- def getH2ExportStr(file: String, aggregates: Aggregates, wheres: Wheres, groupByIntervals: GroupByIntervals, havings: Havings): String
- def getH2ImportStr(file: String): String
- def getIndexName(cols: Cols): String
- def getTableNames(selectCols: Cols, wheres: Wheres): String
- def incrementColsString(wheres: Wheres, increments: Increments): String
- def insertIntoSQLString(table: Table, aggregates: Aggregates, wheres: Wheres, groupByIntervals: GroupByIntervals, havings: Havings): String
- def insertIntoSQLString(table: Table, selectCols: Cols, wheres: Wheres)(implicit orderings: Orderings = Array(), limit: Int = 0, offset: Long = 0): String
- def insertSQLString(isPostGreSQL: Boolean): String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val mySQLSchemaStr: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val postgreSQLSchemaStr: String
- val priKey: Cols
- val priKeyColNames: Array[String]
- def selectSQLString(selectCols: Cols, wheres: Wheres)(implicit orderings: Orderings = Array(), limit: Int = 0, offset: Long = 0): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tableCols: Cols
- val tableName: String
-
def
toString(): String
- Definition Classes
- Table → AnyRef → Any
-
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
- def validateSchema(colList: List[(String, List[String])])(isPostGreSQL: Boolean): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
insertSQLStringOrig: String
- Annotations
- @deprecated
- Deprecated
(Since version 22 Nov 2017) Below was without auto increment/default