oxygen.sql.schema
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ColumnEncoder[A]class ConcatAll[A]trait CustomEncoder[A]object Emptyclass OptionalEncoder[A]class SingleEncoder[A]class Zip[A]Show all
Attributes
- Companion
- trait
- Supertypes
-
trait WithInstances[InputEncoder]trait Derivable[InputEncoder]class Objecttrait Matchableclass Any
- Self type
-
InputEncoder.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ColumnDecoder[A]trait CustomDecoder[A]object Emptyclass OptionalDecoder[A]class SingleDecoder[A]class WithColumns[A]Show all
Attributes
- Companion
- trait
- Supertypes
-
trait WithInstances[ResultDecoder]trait Derivable[ResultDecoder]class Objecttrait Matchableclass Any
- Self type
-
ResultDecoder.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Explicitly set the name of a column.
Explicitly set the name of a column.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
columnName.type
Best explained with an example: final case class Inner(field_1: String, field_2: String) derives RowSchema.ProductSchema
final case class Outer(inner: Inner) derives RowSchema.ProductSchema
Best explained with an example: final case class Inner(field_1: String, field_2: String) derives RowSchema.ProductSchema
final case class Outer(inner: Inner) derives RowSchema.ProductSchema
By default, this schema will have 2 fields: inner_field_1
and inner_field_2
. Using inlineColumnNames on inner
, like: final case class Outer(@inlineColumnName inner: Inner) derives RowSchema.ProductSchema
will result in fields field_1
and field_2
.
NOTE: If this is used on field that is not a product schema, the annotation will be ignored.
Attributes
- Companion
- object
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
inlineColumnNames.type
Denotes that this field should be a primary key for the table.
Denotes that this field should be a primary key for the table.
Attributes
- Companion
- object
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
primaryKey.type
Explicitly set the name of the schema a table is in.
Explicitly set the name of the schema a table is in.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
schemaName.type
Explicitly set the name of a table.
Explicitly set the name of a table.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass AnyShow all