Database abstraction
This commit is contained in:
26
core/Driver/SQL/Join.class.php
Normal file
26
core/Driver/SQL/Join.class.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Driver\SQL;
|
||||
|
||||
class Join {
|
||||
|
||||
private $type;
|
||||
private $table;
|
||||
private $columnA;
|
||||
private $columnB;
|
||||
|
||||
public function __construct($type, $table, $columnA, $columnB) {
|
||||
$this->tpye = $type;
|
||||
$this->table = $table;
|
||||
$this->columnA = $columnA;
|
||||
$this->columnB = $columnB;
|
||||
}
|
||||
|
||||
public function getType() { return $this->type; }
|
||||
public function getTable() { return $this->table; }
|
||||
public function getColumnA() { return $this->columnA; }
|
||||
public function getColumnB() { return $this->columnB; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user