Commit Graph

4 Commits

Author SHA1 Message Date
Abel Hoogeveen 4b200dbd63 Upgraded database backend for PHP 8.1.
Changes implemented:
- Proper type definitions, for both return types and properties.
- Streamlined if statements, removing unnecessary statements.
- Upgraded Mongo backend to be compatible with driver 1.15.
2022-12-22 10:46:13 +01:00
Abel Hoogeveen 88135275d9
Implemented changes requested by FuzeWorks\Application.
- TableModels now return a TableModelResult. This provides a standardized return variable for all types of TableModels.
- TableModelResults can be iterated over, or turned into an array with toArray()
- TableModels are now requested using the Database::getTableModel() method. Arguments are put in a different order.
- PDOTableModel no longer supports joins
- PDOTableModel no longer supports fetchMode. Use TableModelResult::group instead for certain cases.
- Optimized DatabaseEngine
2019-09-08 20:32:42 +02:00
Abel Hoogeveen 6f1b1b814d
Implemented changes requested by FuzeWorks\Application.
- TracyBridge is now fully functional.
2019-03-01 11:15:30 +01:00
Abel Hoogeveen 330d521f98
Implemented renewed Database system.
System now consists of engines, much like the Layout system does. Engines are registered and can be provided by the FuzeWorks\Database class.
This engine is not limited to SQL or PDO relational databases. A future MongoDB database is also planned.
2019-02-26 20:46:33 +01:00