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::crossJoin()

Builder|Builder crossJoin(string $table, string $first = null, string $operator = null, string $second = null) Add a "cross join" clause to the query. Parameters string $table string $first string $operator string $second Return Value Builder|Builder

Builder::cursor()

Generator cursor() Get a generator for the given query. Return Value Generator

Builder::cursor()

Generator cursor() Get a generator for the given query. Return Value Generator

Builder::create()

void create(string $table, Closure $callback) Create a new table on the schema. Parameters string $table Closure $callback Return Value void

Builder::count()

int count(string $columns = '*') Retrieve the "count" result of the query. Parameters string $columns Return Value int

Builder::chunkById()

bool chunkById(int $count, callable $callback, string $column = 'id', string $alias = null) Chunk the results of a query by comparing numeric IDs. Parameters int $count callable $callback string $column string $alias Return Value bool

Builder::chunk()

bool chunk(int $count, callable $callback) Chunk the results of the query. Parameters int $count callable $callback Return Value bool

Builder::chunk()

bool chunk(int $count, callable $callback) Chunk the results of the query. Parameters int $count callable $callback Return Value bool

Builder::chunkById()

bool chunkById(int $count, callable $callback, string $column = 'id') Chunk the results of a query by comparing numeric IDs. Parameters int $count callable $callback string $column Return Value bool