pdo-database-class icon indicating copy to clipboard operation
pdo-database-class copied to clipboard

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRe...

Results pdo-database-class issues
Sort by recently updated
recently updated
newest added

Dear Vasiliy. Dear PDOdb community. Just wow: Your PDOdb library looks truly excellent. Kudos for conceiving it. We discovered it ~~accidentally~~ by fortune while researching solutions for PostgreSQL query caching,...

enhancement

https://github.com/tommyknocker/pdo-database-class/blob/master/documentation/02-core-concepts/03-query-builder-basics.md#complex-where-conditions This example gives error "Expected type 'string|array|tommyknocker\pdodb\helpers\values\RawValue'. Found 'Closure(mixed $query):"

bug

Some deprecations notice showing on PHP 8.5 example: Deprecated: Constant PDO::MYSQL_ATTR_LOCAL_INFILE is deprecated since 8.5, use Pdo\Mysql::ATTR_LOCAL_INFILE instead in REDACTED\ue-composer\vendor\tommyknocker\pdo-database-class\src\dialects\mysql\MySQLDialect.php on line 120

enhancement

I have a very complex query I'd rather pass as a SQL query, but when replacing the placeholder for an "IN" condition nothing I try works. Is this not supported?

How can I get the last ID using a transaction? `$db->startTransaction(); ... if (!$db->insert('myTable', $insertData)) { //Error while saving, cancel new record $db->rollback(); } else { //OK $db->commit(); }` If...

When i open a link localhost/web/newpanel/auth/login the below error shown please tell me what's wrong in my code please check below error and my files. **Fatal error: Call to a...

The delete function always returns false. Save row count in result before doing reset and return result.

This does not work $db = new PDODb('host', 'username', 'password', 'databaseName'); It maps the parameters to the incorrect parts, the type is missing. Which means it maps host to type...