Redefined
Read onlyYes
FinalYes
Properties
- $names : array<string|int, mixed>
Methods
- alias() : self
- $name holds exactly the values of $below: a reference to $name above the node is a reference to $below under it.
- aliasOf() : string|null
- The column under the node that $name above it renames, or null when $name is not a plain alias.
- allBut() : self
- The node keeps only $kept (Select): every other column is gone above it.
- defines() : bool
- isAllBut() : bool
- isUnknown() : bool
- names() : self
- none() : self
- rename() : self
- $to holds exactly the values of $from, which is gone above the node.
- unknown() : self
- The node cannot name its columns before a schema is bound (RenameEach): every name is redefined.
Properties
$names
public
array<string|int, mixed>
$names
Methods
alias()
$name holds exactly the values of $below: a reference to $name above the node is a reference to $below under it.
public
static alias(string $name, string $below) : self
Parameters
- $name : string
- $below : string
Return values
selfaliasOf()
The column under the node that $name above it renames, or null when $name is not a plain alias.
public
aliasOf(string $name) : string|null
Parameters
- $name : string
Return values
string|nullallBut()
The node keeps only $kept (Select): every other column is gone above it.
public
static allBut(string ...$kept) : self
Parameters
- $kept : string
Return values
selfdefines()
public
defines(string $name) : bool
Parameters
- $name : string
Return values
boolisAllBut()
public
isAllBut() : bool
Return values
boolisUnknown()
public
isUnknown() : bool
Return values
boolnames()
public
static names(string ...$names) : self
Parameters
- $names : string
Return values
selfnone()
public
static none() : self
Return values
selfrename()
$to holds exactly the values of $from, which is gone above the node.
public
static rename(string $from, string $to) : self
Parameters
- $from : string
- $to : string
Return values
selfunknown()
The node cannot name its columns before a schema is bound (RenameEach): every name is redefined.
public
static unknown() : self