ColumnDef

zio.blocks.sql.ColumnDef
final case class ColumnDef(name: String, sqlType: String, nullable: Boolean)

Metadata for a single column in a CREATE TABLE statement.

Value parameters

name

The column name as it appears in SQL.

nullable

Whether the column allows SQL NULL.

sqlType

The SQL type string (e.g. "INTEGER", "TEXT").

Attributes

Source
Ddl.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala