Builder::dropIfExists()

void dropIfExists(string $table) Drop a table from the schema if it exists. Parameters string $table Return Value void

Builder::dynamicWhere()

$this dynamicWhere(string $method, string $parameters) Handles dynamic "where" clauses to the query. Parameters string $method string $parameters Return Value $this

Builder::each()

bool each(callable $callback, int $count = 1000) Execute a callback over each item while chunking. Parameters callable $callback int $count Return Value bool

Builder::disableForeignKeyConstraints()

bool disableForeignKeyConstraints() Disable foreign key constraints. Return Value bool

Builder::drop()

void drop(string $table) Drop a table from the schema. Parameters string $table Return Value void

Builder::distinct()

$this distinct() Force the query to only return distinct results. Return Value $this

Builder::doesntHave()

Builder|Builder doesntHave(string $relation, string $boolean = 'and', Closure $callback = null) Add a relationship count / exists condition to the query. Parameters string $relation string $boolean Closure $callback Return Value Builder|Builder

Builder::decrement()

int decrement(string $column, int $amount = 1, array $extra = array()) Decrement a column's value by a given amount. Parameters string $column int $amount array $extra Return Value int

Builder::delete()

mixed delete() Delete a record from the database. Return Value mixed

Builder::delete()

int delete(mixed $id = null) Delete a record from the database. Parameters mixed $id Return Value int