mini\Table\Wrappers\SqlIntersectTable class

Documentation

SQL INTERSECT - rows from left that also exist in right

Uses positional column matching (SQL standard for set operations). Predicates push down to both sides since a row must exist in both.

// SELECT * FROM a INTERSECT SELECT * FROM b
new SqlIntersectTable($tableA, $tableB)

Inheritance

Extends: mini\Table\AbstractTable

Implements: mini\Table\Contracts\SetInterface IteratorAggregate Countable Traversable mini\Table\Contracts\TableInterface

Properties (5)

protected ?Closure $compareFn
protected ?int $limit
protected int $offset

Methods (38)

Documentation missing

Documentation missing

Check if a table has useful indexes for membership testing

Remap row from source columns to target columns (positional)

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Map a column name from left to corresponding right column (positional)

Documentation missing

Documentation missing

Documentation missing

Hook for subclasses to customize clone behavior

Get column name(s) that the row key represents

Get the string comparison function for sorting

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Get the current table alias (null if not set)

Documentation missing

Documentation missing

Documentation missing

Filter rows matching any of the given predicates (OR semantics)

Documentation missing

Get the primary key column definition (cached)

Iterate over rows with visible columns only

Get columns available for output

Get all column definitions regardless of projection

Narrow to specific columns

Load a single row by its row ID

Get a property value

Check if a property exists (including null values)

Return table with property set

Source

src/Table/Wrappers/SqlIntersectTable.php:24-270