This repository was archived by the owner on Jan 23, 2021. It is now read-only.
Releases: crystlbrd/DatabaseHandler
Releases · crystlbrd/DatabaseHandler
v0.2.4
v0.2.3 - Bugfix
Enabled the possibility to return string ids.
v0.2.2 - Bugfix
When failing in loading the description for a table the MySQLConnection will now catch the error throw an exception.
v0.2.1 - Bugfix
Values in WHERE condition arrays don't have to be strings and can have any type.
Full Implementation
Implementing nearly all methods for data manipulation.
Changelist
Features
- #12 Implemented ability to insert new entries to a data source
- #13 Implemented ability to update entries of a data source
- #14 Implemented ability to delete entries from a data source
- #16 Implemented ability to delete a table or a database from a data source
Improvements
- #11 Results and Entries not implement the PHP interfaces Countable and Iterator, allowing to use
count()andforeachloops on them.
Bugfixes
- #9 Entries now save data to columns, even if they weren't initially loaded
Fix
Proof of Concept
This is a first release of the DatabaseHandler providing the minimal API to illustrate the idea and basic behaviour.
Changelist
- [core] implemented DatabaseHandler
addConnection()removeConnection()load()
- [core] implemented Connection
(Interfaces/IConnection, Connections/PDOConnection, Connections/MySQLConnection)select()
- [core] implemented Table
select()getColumns()getTableName()getConnection()
- [core] implemented Result
fetch()fetchAll()count()rewind()
- [core] implemented Entry
__get()__set()