PACKAGE

mantra.sql.orm

Pluggable database drivers, query builders, and active-record persistence layers.

📋 Classes & Interfaces Summary

Class / Interface Type Description
DatabaseAdapter INTERFACE Universal database driver interface enabling hot-swappable MySQL, PostgreSQL, and SQLite backends without code alterations.
MySQLAdapter CLASS MySQL 8.0 InnoDB adapter supporting connection pooling, prepared statements, and caching_sha2_password authentication.
PostgreSQLAdapter CLASS PostgreSQL 16 native adapter with support for transaction isolation, JSONB serialization, and libpq protocol.
Model ABSTRACT Active Record base class providing automatic field serialization, dirty checking, and CRUD query mapping.