waaseyaa/database-legacy

Database adapter wrapping Drupal DBAL. Interim until Doctrine migration.

Maintainers

Package info

github.com/waaseyaa/database-legacy

pkg:composer/waaseyaa/database-legacy

Statistics

Installs: 6 615

Dependents: 15

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0-alpha.179 2026-05-10 14:49 UTC

This package is auto-updated.

Last update: 2026-05-14 18:23:48 UTC


README

Layer 0 — Foundation

PDO-based database abstraction for Waaseyaa applications.

Provides PdoDatabase with a fluent query builder (select(), insert(), update(), delete()), LIKE-safe escaping, and FETCH_ASSOC mode to avoid duplicate numeric-indexed columns. PdoDatabase::createSqlite() creates an in-memory SQLite instance for tests. DatabaseInterface intentionally omits getPdo(); use PdoDatabase directly when raw PDO access is needed.

Key classes: PdoDatabase, DatabaseInterface, PdoSelect.