trait
Illuminate
/
Database
/
Eloquent
/
Concerns
/
HasUniqueIds
HasUniqueIds
Properties
public
$usesUniqueIds bool
Indicates if the model uses unique ids.
Default: false
Methods
public
usesUniqueIds ( ) : bool
Determine if the model uses unique ids.
public
setUniqueIds ( ) : void
Generate unique keys for the model.
public
newUniqueId ( ) : string
Generate a new key for the model.
public
uniqueIds ( ) : array
Get the columns that should receive a unique identifier.