mini\Table\Wrappers\FullJoinTable
class
Documentation
Full outer join of two tables with ON condition
Yields all rows from both tables:
- Matched rows have data from both tables
- Unmatched left rows have NULL for right columns
- Unmatched right rows have NULL for left columns
Uses property-based binding: left table must have 'bind' property with Predicate.
// SELECT * FROM users u FULL JOIN orders o ON u.id = o.user_id
new FullJoinTable(
$users->withAlias('u')->withProperty('__bind__', p->eqBind('u.id', ':o.user_id')),
$orders->withAlias('o')
)
Inheritance
Extends: mini\Table\AbstractTable
Implements:
mini\Table\Contracts\SetInterface
IteratorAggregate
Countable
Traversable
mini\Table\Contracts\TableInterface
Properties (9)
array $bindParams
array $leftColNames
array $rightColNames
Closure $compareFn
int $limit
int $offset
Methods (39)
Documentation missing
Documentation missing
Extract binding values from a right row
Merge two rows into a single object
Merge left row with NULL values for right columns
Merge right row with NULL values for left columns
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
public
__clone()
inherited from Table\AbstractTable
Hook for subclasses to customize clone behavior
public
getRowKeyColumns()
inherited from Table\AbstractTable
Get column name(s) that the row key represents
protected
getCompareFn()
inherited from Table\AbstractTable
Get the string comparison function for sorting
public
limit()
inherited from Table\AbstractTable
Documentation missing
public
offset()
inherited from Table\AbstractTable
Documentation missing
public
getLimit()
inherited from Table\AbstractTable
Documentation missing
public
getOffset()
inherited from Table\AbstractTable
Documentation missing
public
withAlias()
inherited from Table\AbstractTable
Documentation missing
public
getTableAlias()
inherited from Table\AbstractTable
Get the current table alias (null if not set)
public
union()
inherited from Table\AbstractTable
Documentation missing
public
except()
inherited from Table\AbstractTable
Documentation missing
public
distinct()
inherited from Table\AbstractTable
Documentation missing
public
or()
inherited from Table\AbstractTable
Filter rows matching any of the given predicates (OR semantics)
public
exists()
inherited from Table\AbstractTable
Documentation missing
public
has()
inherited from Table\AbstractTable
Check if value(s) exist in the table's projected columns
protected
getPrimaryKeyColumn()
inherited from Table\AbstractTable
Get the primary key column definition (cached)
public
final
getIterator()
inherited from Table\AbstractTable
Iterate over rows with visible columns only
public
getColumns()
inherited from Table\AbstractTable
Get columns available for output
public
getAllColumns()
inherited from Table\AbstractTable
Get all column definitions regardless of projection
public
columns()
inherited from Table\AbstractTable
Narrow to specific columns
public
load()
inherited from Table\AbstractTable
Load a single row by its row ID
public
getProperty()
inherited from Table\AbstractTable
Get a property value
public
hasProperty()
inherited from Table\AbstractTable
Check if a property exists (including null values)
public
withProperty()
inherited from Table\AbstractTable
Return table with property set