Skip to content

Releases: ArrisFramework/Arris.Database

2.5.1

26 Feb 22:48

Choose a tag to compare

- default fetchAll() fetch mode is FETCH_ASSOC now

2.5.0

13 Jan 09:34

Choose a tag to compare

- added QueryBuilder
- added QueryBuilder Tests

2.4.0

04 Jan 20:56

Choose a tag to compare

- fix fetchAll() signature
- fix setFetchMode() return type

2.3.0

05 Sep 18:23

Choose a tag to compare

- внедряем репозиторий таблиц в Connection.
- репозиторий таблиц создается на этапе `Config`.
- к классу `Config` добавлены методы-хелперы `initTables`, `addTable`, `getTable`
- после коннекта репозиторий таблиц доступен через публичное поле `tables`
- после коннекта таблицы доступны через `$pdo->tables[key]` или `$pdo->tables->getTable(key)`

2.2.0

18 Aug 14:48

Choose a tag to compare

- added Tables repository (implements ArrayAccess)

2.1.0

22 Jul 12:33

Choose a tag to compare

- PHP8 version
- critical fix LAST INSERT ID

2.0.0

12 Jun 15:02

Choose a tag to compare

- PHP8 version
- New Classes, that implements PDO

1.99.0

10 Jun 21:23

Choose a tag to compare

- v 2.0 Release candidate
- PHP8 version
- Changed class names
- Implements PDO

1.2.1

26 Apr 10:25

Choose a tag to compare

- PHP7.4 & PHP8 compatible
- DBConfig can accept empty `credentials` argument

1.2.0

11 Feb 17:16

Choose a tag to compare

- PHP7.4 & PHP8 compatible
- DBConfig now have `setDriver`, `setHost`, `setPort`, `setUser`, `setPassword`, `setCollate`, `setCharset` and `setDatabase`
- DBWrapper constructor takes first argument as ARRAY or DBConfig instance
- `SET NAMES` available for Postgres and MySQL
- `SET COLLATE` available for MySQL only