int|bool increment(string $key, mixed $value = 1) Increment the value of an item in the cache. Parameters string $key mixed $value Return Value int|bool
void __clone() Force a clone of the underlying query builder when cloning. Return Value void
void logQuery(string $query, array $bindings, float|null $time = null) Log a query in the connection's query log. Parameters string $query array $bindings float|null $time Return Value void
MorphTo morphTo(string $name = null, string $type = null, string $id = null) Define a polymorphic, inverse one-to-one or many relationship. Parameters string $name string $type string $id Return Value MorphTo
Collection forPage(int $page, int $perPage) "Paginate" the collection by slicing it into a smaller collection. Parameters int $page int $perPage Return Value Collection
int processInsertGetId(Builder $query, string $sql, array $values, string $sequence = null) Process an "insert get ID" query. Parameters Builder $query string $sql array $values string $sequence Return Value int
array getCommands() Get the commands on the blueprint. Return Value array
bool hasOption(string $name) Determine if the given option is present. Parameters string $name Return Value bool
string getCreatedAtColumn() Get the name of the "created at" column. Return Value string
void comment(string $string) Write a string as comment output. Parameters string $string Return Value void
Page 573 of 996