HasUniqueIds
trait HasUniqueIds
Properties
| bool | $usesUniqueIds | Indicates if the model uses unique ids. |
Methods
bool
usesUniqueIds()
Determine if the model uses unique ids.
void
setUniqueIds()
Generate unique keys for the model.
string|null
newUniqueId()
Generate a new key for the model.
array
uniqueIds()
Get the columns that should receive a unique identifier.
Details
at line 17
bool
usesUniqueIds()
Determine if the model uses unique ids.
at line 25
void
setUniqueIds()
Generate unique keys for the model.
at line 37
string|null
newUniqueId()
Generate a new key for the model.
at line 47
array
uniqueIds()
Get the columns that should receive a unique identifier.