Apex Database Layer
The Apex Database Layer is a straight forward library that provides efficient access to the SQL database. Instead of trying to be clever and force you to learn a new ORM and its methods, this simply provides an efficient means to perform prepared SQL statements protecting against SQL injection, plus other basic functionality such as map to and from objects. To continue, click on one of the below links:
-
Accessing the Database
Learn how to retrive the database object via attribute / constructor injection. -
Prepared Statements
Using either sequential or named placeholders, execute properly prepared statements ensuring protection against SQL injection. -
Function List
All available methods including examples. -
Manage Connections (CLI Commands)
Manage the database connection information including any read-only connections if using database replication.