getCol() публичный Метод

См. также: Adapter::getCol
public getCol ( $sql, $bindings = [] )
Пример #1
0
Файл: rb.php Проект: 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 ) )');
 }
Пример #2
0
 /**
  * @see QueryWriter::getTables
  */
 public function getTables()
 {
     return $this->adapter->getCol("SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'");
 }
Пример #3
0
 /**
  * @see QueryWriter::getTables
  */
 public function getTables()
 {
     return $this->adapter->getCol('SELECT * FROM sys.Tables');
 }
Пример #4
0
 /**
  * @see QueryWriter::getTables
  */
 public function getTables()
 {
     return $this->adapter->getCol('show tables');
 }
Пример #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;
 }
Пример #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';");
 }