Query\QueryBuilder::join
Creates a join phrase in a compiled query
Signature
public function join(string
$table,
string
$condition,
[string
$type = ''] )
Parameters
$table
—
string
$condition
—
string
$type
—
string
Returns
- Query_Builder
Defined by Interface
QueryBuilderInterface
Test Coverage
Information
- Coverage: 8/8 Lines (100%)
- Tests: 16
- Passed: 16 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testJoin
- [ PASSED ] — MySQLQBTest::testLeftJoin
- [ PASSED ] — MySQLQBTest::testInnerJoin
- [ PASSED ] — MySQLQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — PgSQLQBTest::testJoin
- [ PASSED ] — PgSQLQBTest::testLeftJoin
- [ PASSED ] — PgSQLQBTest::testInnerJoin
- [ PASSED ] — PgSQLQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — SQLiteQBTest::testJoin
- [ PASSED ] — SQLiteQBTest::testLeftJoin
- [ PASSED ] — SQLiteQBTest::testInnerJoin
- [ PASSED ] — SQLiteQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — FirebirdQBTest::testJoin
- [ PASSED ] — FirebirdQBTest::testLeftJoin
- [ PASSED ] — FirebirdQBTest::testInnerJoin
- [ PASSED ] — FirebirdQBTest::testJoinWithMultipleWhereValues