trait SimpleRelation (View source)

Methods

foreign(string $table, $foreign_key = null)

Definir la clé étranger

merge(string $table, mixed $foreign_key = null)

Join avec une autre table

Details

SimpleRelation foreign(string $table, $foreign_key = null)

Definir la clé étranger

Parameters

string $table
$foreign_key

Return Value

SimpleRelation

SimpleRelation merge(string $table, mixed $foreign_key = null)

Join avec une autre table

Parameters

string $table
mixed $foreign_key

Return Value

SimpleRelation