This repository has been archived by the owner on Dec 21, 2021. It is now read-only.
forked from symphonycms/symphonycms
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a new database API, based on PDO
This commit brings a new API for the datbase layer. Instead of creating our dynamic SQL queries with concat and sprintf The way it works is that you first start with on of the factory methods available in the Database class. You then use the created DatabaseStatement and its chainable API to add `part` to the clause. This is very much a WIP. The API will change at some point. Re symphonycms#2604 Fixes symphonycms#2562 Re symphonycms#2472 Re symphonycms#2448 Fixes #2425 Re symphonycms#2015 Picked from 69439c6
- Loading branch information
Showing
18 changed files
with
2,678 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.