Registry / database / nette-database

nette-database

JSON →
library3.2.9phppackagistunverified

Nette Database: layer with a familiar PDO-like API but much more powerful. Building queries, advanced joins, drivers for MySQL, PostgreSQL, SQLite, MS SQL Server and Oracle.

composer require nette/database
INSTALL
IMPORT
SIG · NETTE-DATABASE
N
nette-database
databasephpv3.2.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Connection
use Nette\Database\Connection;

Connect to a MySQL database and execute a query.

use Nette\Database\Connection; $connection = new Connection('mysql:host=127.0.0.1;dbname=test', 'user', 'password'); $result = $connection->query('SELECT * FROM users WHERE id = ?', 1);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.2.9latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
nette-database — pip install nette-database · libregistry