2017 © Pedro Peláez
 

yii2-extension yii2-query-insert

Class for Yii2 PHP framework helps to generate insert sql query from other tables.

image

restlin/yii2-query-insert

Class for Yii2 PHP framework helps to generate insert sql query from other tables.

  • Monday, February 12, 2018
  • by Restlin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

yii2-query-insert

Class for Yii2 PHP framework helps to generate insert sql query from other tables., (*1)

This class helps to create query as below:, (*2)


insert into rights_cache(id,login,type,date_in) select id,login,type,now() from rights where date_in>date_trunc('day',now());

Example usage:, (*3)

$query = new QueryInsert;
$query->select(['login','docid'])
->from($tblTemp)
->where(['in','docid' , $docids]);
$query->insert(DA::tableName(),['login','docid']);

The Versions

12/02 2018

dev-master

9999999-dev https://github.com/Restlin/yii2-query-insert

Class for Yii2 PHP framework helps to generate insert sql query from other tables.

  Sources   Download

GNU3 GPL-3.0-or-later

The Requires

 

by Ilya Shumilov

extension yii2 db query builder

12/02 2018

1.0.1

1.0.1.0 https://github.com/Restlin/yii2-query-insert

Class for Yii2 PHP framework helps to generate insert sql query from other tables.

  Sources   Download

GPL-3.0-or-later

The Requires

 

by Ilya Shumilov

extension yii2 db query builder

28/09 2016

1.0.0

1.0.0.0 https://github.com/Restlin/yii2-query-insert

Class for Yii2 PHP framework helps to generate insert sql query from other tables.

  Sources   Download

GNU3

The Requires

 

by Ilya Shumilov

extension yii2 db query builder