getCol() public method

See also: Adapter::getCol
public getCol ( $sql, $bindings = [] )
Beispiel #1
0
Datei: rb.php Projekt: WTer/NJB
 /**
  * @see QueryWriter::getTables
  */
 public function getTables()
 {
     return $this->adapter->getCol('SELECT table_name FROM information_schema.tables WHERE table_schema = ANY( current_schemas( FALSE ) )');
 }
Beispiel #2
0
 /**
  * @see QueryWriter::getTables
  */
 public function getTables()
 {
     return $this->adapter->getCol("SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'");
 }
Beispiel #3
0
 /**
  * @see QueryWriter::getTables
  */
 public function getTables()
 {
     return $this->adapter->getCol('SELECT * FROM sys.Tables');
 }
Beispiel #4
0
 /**
  * @see QueryWriter::getTables
  */
 public function getTables()
 {
     return $this->adapter->getCol('show tables');
 }
Beispiel #5
0
 /**
  * @see QueryWriter::getTables
  */
 public function getTables()
 {
     $rows = $this->adapter->getCol("SELECT class_name FROM db_class WHERE is_system_class = 'NO';");
     return $rows;
 }
Beispiel #6
0
 /**
  * @see QueryWriter::getTables();
  */
 public function getTables()
 {
     return $this->adapter->getCol("SELECT name FROM sqlite_master\n\t\t\tWHERE type='table' AND name!='sqlite_sequence';");
 }