Packages

sealed abstract case class TableColumns[T] extends Product with Serializable

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

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. val allColumns: NonEmptyList[String]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. val fieldNames: NonEmptyList[String]
  9. def fromField(field: String): Either[NoSuchField, doobie.Fragment]

    Return the column name associated with the provided field

  10. def fromFieldStr(field: String): Either[NoSuchField, String]
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. 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"
  14. def list: doobie.Fragment

    List th fields, separated by commas.

    List th fields, separated by commas. e.g. "field1,field2,field3"

  15. def listStr: String
  16. 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}"

  17. def listWithParenStr: String
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def parameterized: doobie.Fragment

    Return string of the form '?,?,?' depending on how many fields there is for this TableColumn

  22. def parameterizedStr: String
  23. def parameterizedWithParen: doobie.Fragment

    Return string of the form '(?,?,?)' depending on how many fields there is for this TableColumn.

  24. def parameterizedWithParenStr: String
  25. 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"

  26. def prefixedStr(prefix: String): String
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def tableNameF: doobie.Fragment
  29. 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"

  30. def tableNamePrefixedStr: String
  31. val tableNameStr: String
  32. val transform: (String) ⇒ String
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped