Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

Releases: crystlbrd/DatabaseHandler

v0.2.4

08 Sep 09:32

Choose a tag to compare

Float and integer values won't be prepared and bound when updating rows, since they are trustworthy. This fixes a bug where float values would lose there decimals.

v0.2.3 - Bugfix

16 Dec 12:43
b9a8703

Choose a tag to compare

Enabled the possibility to return string ids.

v0.2.2 - Bugfix

15 Nov 08:57

Choose a tag to compare

When failing in loading the description for a table the MySQLConnection will now catch the error throw an exception.

v0.2.1 - Bugfix

13 Nov 08:27

Choose a tag to compare

Values in WHERE condition arrays don't have to be strings and can have any type.

Full Implementation

02 Oct 16:20

Choose a tag to compare

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() and foreach loops on them.

Bugfixes

  • #9 Entries now save data to columns, even if they weren't initially loaded

Fix

16 Sep 12:03
b91e7e0

Choose a tag to compare

Fix
  • Fixed Iss #17

Proof of Concept

01 Sep 16:19
6c56258

Choose a tag to compare

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()