Commit Graph

12 Commits

Author SHA1 Message Date
Abel Hoogeveen 63cd0ec6a8 Fixed critical bug where PDOEngine could not properly dissolve at the end of execution. 2023-01-26 15:07:29 +01:00
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 bb8eb0300a Implemented changes requested by Wettennet 2020-07-12 11:58:07 +02:00
Abel Hoogeveen 6c53eb8cd4
Implemented changes requested by Wettennet.
PDOStatementWrapper now directly binds parameters. This allows for values such as 'NULL' to be properly utilized.
2020-06-13 12:07:06 +02: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 18f2a6bb40
Moved retrieval of TableModels into the \FuzeWorks\Database class.
- BREAKING: tableModels can no longer be fetched using the iDatabaseTableModel::__construct() method. From now on users must implement the Database::getTableModel() method using the Factory.
- TableModels now have a few more required methods from the iDatabaseTableModel interface. This change shouldn't impact much
2019-08-21 16:42:47 +02:00
Abel Hoogeveen ae8da38cd9
Implemented comments on PDOStatementWrapper.
- Now has hints on what methods it extends
2019-08-16 17:17:17 +02:00
Abel Hoogeveen b8ad345365 Implemented MongoDB engine into `FuzeWorks\Database` and other improvements
- A standard MongoDB engine has been implemented
- Implemented transactions into the iDatabaseEngine and PDOEngine.
- Added a TransactionException when transactions fail
2019-07-22 11:43:01 +02:00
Abel Hoogeveen 67e79ceba3
Release 1.2.0-RC3 2019-03-05 11:12:27 +01: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
Abel Hoogeveen f12557f7ea Initial Commit 2018-11-15 19:10:52 +01:00