Grammar withTablePrefix(Grammar $grammar) Set the table prefix and return the grammar. Parameters Grammar $grammar Return Value Grammar
$this load(array|string $relations) Eager load relations on the model. Parameters array|string $relations Return Value $this
string compileEnableForeignKeyConstraints() Compile the command to enable foreign key constraints. Return Value string
string getRelatedFreshUpdate() Get the related model's updated at column name. Return Value string
static bool hasGlobalScope(Scope|string $scope) Determine if a model has a global scope. Parameters Scope|string $scope Return Value bool
mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException
DatabaseNotification class DatabaseNotification extends Model (View source) Constants CREATED_AT The name of the "created at" column. UPDATED_AT The name of the "updated at" column.
void setAsGlobal() Make this capsule instance available globally. Return Value void
bool isValidUrl(string $path) Determine if the given path is a valid URL. Parameters string $path Return Value bool
Fluent timestampTz(string $column) Create a new timestamp (with time zone) column on the table. Parameters string $column Return Value Fluent
Page 548 of 996