HasOneOrMany::firstOrCreate()
  • References/PHP/Laravel/Database/Eloquent/Relations

Model firstOrCreate(array $attributes)

2025-01-10 15:47:30
MorphMany
  • References/PHP/Laravel/Database/Eloquent/Relations

MorphMany class MorphMany extends

2025-01-10 15:47:30
SQLiteGrammar::compileSavepoint()
  • References/PHP/Laravel/Database/Query/Grammars

string compileSavepoint(string $name) Compile the SQL statement to define

2025-01-10 15:47:30
Pivot::setTable()
  • References/PHP/Laravel/Database/Eloquent/Relations

$this setTable(string $table) Set the table associated with the model.

2025-01-10 15:47:30
ResetCommand::hasArgument()
  • References/PHP/Laravel/Database/Console/Migrations

bool hasArgument(string|int $name) Determine if the given argument is present

2025-01-10 15:47:30
RefreshCommand::options()
  • References/PHP/Laravel/Database/Console/Migrations

array options() Get all of the options passed to the command.

2025-01-10 15:47:30
MorphPivot
  • References/PHP/Laravel/Database/Eloquent/Relations

MorphPivot class MorphPivot extends

2025-01-10 15:47:30
ConnectionInterface::unprepared()
  • References/PHP/Laravel/Database

bool unprepared(string $query) Run a raw, unprepared query against the

2025-01-10 15:47:30
MorphOneOrMany::matchOne()
  • References/PHP/Laravel/Database/Eloquent/Relations

array matchOne(array $models, Collection $results

2025-01-10 15:47:30
BelongsToMany::updateExistingPivot()
  • References/PHP/Laravel/Database/Eloquent/Relations

int updateExistingPivot(mixed $id, array $attributes, bool $touch = true)

2025-01-10 15:47:30