CreateResultSetMapping

slick.compiler.CreateResultSetMapping

Create a ResultSetMapping root node, ensure that the top-level server-side node returns a collection, and hoist client-side type conversions into the ResultSetMapping. The original result type (which was removed by removeMappedTypes) is assigned back to the top level.

Attributes

Source:
CreateResultSetMapping.scala
Graph
Supertypes
trait Phase
trait Logging
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type State

The immutable state of the phase that can also be accessed by other phases.

The immutable state of the phase that can also be accessed by other phases.

Attributes

Inherited from:
Phase
Source:
QueryCompiler.scala

Value members

Concrete methods

Run the phase

Run the phase

Attributes

Source:
CreateResultSetMapping.scala
def createResult(ref: Ref, tpe: Type, syms: ConstArray[TermSymbol]): Node

Create a structured return value for the client side, based on the result type (which may contain MappedTypes).

Create a structured return value for the client side, based on the result type (which may contain MappedTypes).

Attributes

Source:
CreateResultSetMapping.scala

Inherited methods

def andThen[A](g: CompilerState => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => CompilerState): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields

val name: String

The unique name of the phase

The unique name of the phase

Attributes

Source:
CreateResultSetMapping.scala