LaravelDatabaseQueryJoin

Summary

No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A
File
databasequeryjoin.php
Package
Default
Class hierarchy
LaravelDatabaseQueryJoin

Tags

None found

Properties

$type

$type : string

The type of join being performed.

Type

string

Tags

None found

$table

$table : string

The table the join clause is joining to.

Type

string

Tags

None found

$clauses

$clauses : array

The ON clauses for the join.

Type

array

Tags

None found

Methods

__construct()

__construct(string  $type, string  $table) : void

Create a new query join instance.

Parameters

string $type
string $table

Tags

None found

on()

on(string  $column1, string  $operator, string  $column2, string  $connector = 'AND') : \Laravel\Database\Query\Join

Add an ON clause to the join.

Parameters

string $column1
string $operator
string $column2
string $connector

Returns

LaravelDatabaseQueryJoin

Tags

None found

or_on()

or_on(string  $column1, string  $operator, string  $column2) : \Laravel\Database\Query\Join

Add an OR ON clause to the join.

Parameters

string $column1
string $operator
string $column2

Returns

LaravelDatabaseQueryJoin

Tags

None found