Skip to content

Releases: gueff/myMVC_module_DB

3.4.0

12 Oct 14:19
Compare
Choose a tag to compare

added

  • key _type for origin field type (like Type but without value) in \DB\Model\Db::getFieldInfo-array
  • key _typeValue for origin field type value in \DB\Model\Db::getFieldInfo-array
  • modules/DB/Model/Openapi.php
  • vendor lib "symfony/yaml": "v6.3.*"
  • \DB\Model\Db::fetchRow, \DB\Model\Db::fetchAll for simple SQL usage
  • Event db.model.db.construct.saveCache; gets fired when db cache is saved. Stores name of table
  • modules/DB/Trait/DbInitTrait.php

deprecated

  • key php for PHP Type equivalents in \DB\Model\Db::getFieldInfo-array; use key _php instead

fixed

  • \DB\Model\Db::getFieldInfo: detection of enum type fails
  • \DB\Model\Db::retrieveTupel: if no match, the return object does not follow the corresponding datatype

3.3.0

29 May 14:11
Compare
Choose a tag to compare

added

  • Model/DbInit.php
  • retrieveTupel
  • updateTupel
  • deleteTupel

changed

  • create
  • retrieve
  • update
  • delete
  • README.md

3.2.3

22 Apr 13:26
Compare
Choose a tag to compare

fixed

  • /DB/Model/Db.php: autoDeleteCache deletes way too aggressive; Fix: delete caches explicitely related to the referenced table

3.2.2

28 Feb 15:44
Compare
Choose a tag to compare

added

  • improving sqlexplain & event firing
  • public $aForeign = array(); to \DB\Model\Db

removed

  • $this->synchronizeFields(); in \DB\Model\Db::__construct

fixed

  • DB/Model/Db.php, Line: 989, Message: Call to undefined method MVC\Request::getInstance()
  • some Typo fixes in \DB\Model\Db

3.2.1

30 Jan 15:08
Compare
Choose a tag to compare

fixed

  • "/DB/Model/Db.php, Line: 562, Message: PDO::query(): Argument #1 ($query) cannot be empty"

3.2.0

25 Oct 08:53
Compare
Choose a tag to compare

DB module for myMVC 3.2.x

1.2.0

19 Jul 07:30
Compare
Choose a tag to compare
  • get($iId) function: get a Tupel by its ID
  • updateTupel($oDataTypeObject) function: update a Tupel on its DataType Object
  • deleteTupel() function: delete a Tupel on its DataType Object

1.1.1

06 Jul 16:37
5dd9799
Compare
Choose a tag to compare
bugfix

https://github.com/gueff/myMVC_module_DB/issues/1

1.1.0

29 Jul 09:07
48dd5d0
Compare
Choose a tag to compare
  • Events are fired on any DB Action
  • SQLExplain gives you proper SQL Statement back for INSERT Commands (just listen on Event "db.model.db.create.sql")

1.0.2

23 Mar 12:39
8896e27
Compare
Choose a tag to compare
  • caching optimized
  • tables are now touched only if there are changes in concrete Table Class / config