JoinParseTrait
Table of Contents
Methods
- all() : array<string|int, mixed>|null
- Returns all items from the CDatabase. If a callback is passed, it will be called on each item in the resultset
- full() : static
- inner() : static
- left() : static
- right() : static
- where() : static
- join() : static
- runSelect() : array<string|int, mixed>|null
Methods
all()
Returns all items from the CDatabase. If a callback is passed, it will be called on each item in the resultset
public
all([callable|null $callback = null ]) : array<string|int, mixed>|null
Parameters
- $callback : callable|null = null
-
This is the receiver for the current resultset
Tags
Return values
array<string|int, mixed>|nullfull()
public
full(mixed $table, string|array<string|int, mixed> $on_or_using[, string|null $alias = null ]) : static
Parameters
- $table : mixed
- $on_or_using : string|array<string|int, mixed>
- $alias : string|null = null
Return values
staticinner()
public
inner(mixed $table, string|array<string|int, mixed> $on_or_using[, string|null $alias = null ]) : static
Parameters
- $table : mixed
- $on_or_using : string|array<string|int, mixed>
- $alias : string|null = null
Return values
staticleft()
public
left(mixed $table, string|array<string|int, mixed> $on_or_using[, string|null $alias = null ]) : static
Parameters
- $table : mixed
- $on_or_using : string|array<string|int, mixed>
- $alias : string|null = null
Return values
staticright()
public
right(mixed $table, string|array<string|int, mixed> $on_or_using[, string|null $alias = null ]) : static
Parameters
- $table : mixed
- $on_or_using : string|array<string|int, mixed>
- $alias : string|null = null
Return values
staticwhere()
public
where(array<string|int, mixed> $where) : static
Parameters
- $where : array<string|int, mixed>
Return values
staticjoin()
private
join(string $joinTable, string $alias, string|array<string|int, mixed> $on_or_using, string $joinType) : static
Parameters
- $joinTable : string
- $alias : string
- $on_or_using : string|array<string|int, mixed>
- $joinType : string
Return values
staticrunSelect()
private
runSelect(callable|null $callback) : array<string|int, mixed>|null
Parameters
- $callback : callable|null