easysql.ast.statement

Members list

Type members

Classlikes

case class SqlDelete(table: Option[SqlIdentTable], where: Option[SqlExpr]) extends SqlStatement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlStatement
class Object
trait Matchable
class Any
Show all
case class SqlInsert(table: Option[SqlIdentTable], columns: List[SqlExpr], values: List[List[SqlExpr]], query: Option[SqlQuery]) extends SqlStatement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlStatement
class Object
trait Matchable
class Any
Show all
sealed trait SqlQuery

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SqlSelect
class SqlUnion
class SqlValues
class SqlWith
case class SqlSelect(param: Option[String], select: List[SqlSelectItem], from: Option[SqlTable], where: Option[SqlExpr], groupBy: List[SqlExpr], orderBy: List[SqlOrderBy], forUpdate: Boolean, limit: Option[SqlLimit], having: Option[SqlExpr]) extends SqlQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery
class Object
trait Matchable
class Any
Show all
case class SqlSelectItem(expr: SqlExpr, alias: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait SqlStatement

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SqlDelete
class SqlInsert
class SqlTruncate
class SqlUpdate
class SqlUpsert
case class SqlTruncate(table: Option[SqlIdentTable]) extends SqlStatement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlStatement
class Object
trait Matchable
class Any
Show all
case class SqlUnion(left: SqlQuery, unionType: SqlUnionType, right: SqlQuery) extends SqlQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery
class Object
trait Matchable
class Any
Show all
enum SqlUnionType(val unionType: String)

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SqlUpdate(table: Option[SqlIdentTable], setList: List[(SqlExpr, SqlExpr)], where: Option[SqlExpr]) extends SqlStatement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlStatement
class Object
trait Matchable
class Any
Show all
case class SqlUpsert(table: Option[SqlIdentTable], columns: List[SqlExpr], value: List[SqlExpr], pkList: List[SqlExpr], updateList: List[SqlExpr]) extends SqlStatement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlStatement
class Object
trait Matchable
class Any
Show all
case class SqlValues(values: List[List[SqlExpr]]) extends SqlQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery
class Object
trait Matchable
class Any
Show all
case class SqlWith(withList: List[SqlWithItem], recursive: Boolean, query: Option[SqlQuery]) extends SqlQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SqlQuery
class Object
trait Matchable
class Any
Show all
case class SqlWithItem(name: SqlExpr, query: SqlQuery, columns: List[SqlExpr])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all