sealed abstract case class TableColumns[T] extends Product with Serializable
- Alphabetic
- By Inheritance
- TableColumns
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- val allColumns: NonEmptyList[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fieldNames: NonEmptyList[String]
-
def
fromField(field: String): Either[NoSuchField, doobie.Fragment]
Return the column name associated with the provided field
- def fromFieldStr(field: String): Either[NoSuchField, String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
joinMap(func: (String) ⇒ String): doobie.Fragment
Transform every field name using the provided function, then join them together with commas.
Transform every field name using the provided function, then join them together with commas. This is useful for field prefixes and aliases.
cols.joinMap(c => s"person.$c AS person_$c") == fr"person.col1 AS person_col1, person.col2 AS person_col2"
-
def
list: doobie.Fragment
List th fields, separated by commas.
List th fields, separated by commas. e.g. "field1,field2,field3"
- def listStr: String
-
def
listWithParen: doobie.Fragment
List th fields, separated by commas and surrounded by parens.
List th fields, separated by commas and surrounded by parens. e.g. "(field1,field2,field3)" This makes INSERT queries easier to write like "INSERT INTO mytable VALUES $\{columns.listWithParen}"
- def listWithParenStr: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
parameterized: doobie.Fragment
Return string of the form '?,?,?' depending on how many fields there is for this TableColumn
- def parameterizedStr: String
-
def
parameterizedWithParen: doobie.Fragment
Return string of the form '(?,?,?)' depending on how many fields there is for this TableColumn.
- def parameterizedWithParenStr: String
-
def
prefixed(prefix: String): doobie.Fragment
Prefix each field with the given string.
Prefix each field with the given string. e.g. "c.id, c.name, c.address"
- def prefixedStr(prefix: String): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def tableNameF: doobie.Fragment
-
def
tableNamePrefixed: doobie.Fragment
Prefix each field with the default table name.
Prefix each field with the default table name. e.g. "mytable.id, mytable.name, mytable.address"
- def tableNamePrefixedStr: String
- val tableNameStr: String
- val transform: (String) ⇒ String
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated