Download the PHP package frobou/frobou-db-connect without Composer
On this page you can find all versions of the php package frobou/frobou-db-connect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download frobou/frobou-db-connect
More information about frobou/frobou-db-connect
Files in frobou/frobou-db-connect
Download frobou/frobou-db-connect
More information about frobou/frobou-db-connect
Files in frobou/frobou-db-connect
Vendor frobou
Package frobou-db-connect
Short Description Frobou PDO based Connection
License MIT
Homepage http://frobou.com.br
Package frobou-db-connect
Short Description Frobou PDO based Connection
License MIT
Homepage http://frobou.com.br
Please rate this library. Is it a good library?
Informations about the package frobou-db-connect
frobou-db-connect
usage:
$config = new FrobouPdoConfig(json_decode(file_get_contents(__DIR__ . '/database.json')), true);
$this->con = new FrobouPdoConnection($config, true, $log);
//$ConnectionObject->action($query, 'table1 name (empty for default)');
$query = 'SELECT * FROM table1 limit 1';
$this->con->select($query, 'table1');
$query = 'SELECT * FROM table_default limit 1';
$this->con->select($query);
FrobouPdoConnection has transaction support
$this->con->beginTransaction();
$this->con->beginTransaction('table1');
$this->con->beginTransaction('table2');
$query = 'What INTO table (bla-bla-bla) VALUES (bla-bla-bla)';
$this->con->insert($query);
$this->con->update($query, 'table1');
$this->con->delete($query, 'table2');
if (!$this->con->commit()){
$this->con->rollback();
}
$this->con->commit('radius');
$this->con->commit('postfix');All versions of frobou-db-connect with dependencies
PHP Build Version
Package Version
The package frobou/frobou-db-connect contains the following files
Loading the files please wait ...
