php-micro-orm

A micro framework for create a very simple decoupled ORM (sqlite, mysql, postgres, sqlserver)

MIT License

Downloads
37.2K
Stars
17

Bot releases are visible (Hide)

php-micro-orm - Release 4.9.1 Latest Release

Published by byjg 10 months ago

What's Changed

  • Add the possibility to have a DbDriver for Write and other for Read
  • Fix mapping with property and fieldname different
  • Fix saving ZERO and some tests
  • Added FieldMapping::dontSyncWithDb
  • Added observers
  • Add instance to Generate Key
  • Add previous data to the observer
  • Add UpdateConstraint.php
  • Add Union

Full Changelog: https://github.com/byjg/php-micro-orm/compare/4.9.0...4.9.1

php-micro-orm - Release 4.9.0

Published by byjg over 1 year ago

What's Changed

  • Bump Anydataset version with Major update by @byjg in https://github.com/byjg/micro-orm/pull/11
  • Make getDbDriver public
  • Allow to have more than one PK fields
  • Added CrossJoin + Better build subquery
  • Add withRecursive
  • Add Query::field + support subquery as field
  • Allow SubQuery with params
  • Add FieldMapping class
  • Add withPrimaryKeySeedFunction and withPreserveCaseName methods remove
  • Rename ConnectionManager to TransactionManager

Full Changelog: https://github.com/byjg/micro-orm/compare/4.1.0...4.9.0

php-micro-orm - Release 4.1.0

Published by byjg over 4 years ago

  • Upgrade anydataset-db component
  • Added tests from Join, LeftJoin and RightJoin; Added table alias
  • Added subqueries in Join
  • Fixing PHPDocs.
  • Added getByQueryRaw
  • Some code documentation fix
php-micro-orm - Release 4.0.1

Published by byjg almost 5 years ago

Added filterin:

$repository->filterIn([2,3])
php-micro-orm - Release 4.0.0

Published by byjg almost 6 years ago

Upgrade Anydataset from 3.0.* to 4.0.0. This is a Major Change in the Anydataset project because it was splitted in different projects.

Bumped a new major version to make it compatible with Anydataset

php-micro-orm - Release 2.2.2

Published by byjg over 6 years ago

Added the ConnectionManager object

php-micro-orm - Release 2.2.1

Published by byjg over 6 years ago

  • Removed Backward Compatibility PHPUnit
  • Removed Generic Throw Error
  • Update PHPDoc comments
php-micro-orm - Release 2.2.0

Published by byjg over 6 years ago

  • Added beforeInsert() and beforeUpdate()
  • Added method Repository::getScalar($query)
  • Improved some tests
php-micro-orm - Release 2.1.1

Published by byjg almost 7 years ago

  • Added __toString() to the Literal obejct
php-micro-orm - Release 2.1.0

Published by byjg almost 7 years ago

  • Added Mapper::doNotUpdateClosure()
  • Refactory internal code
php-micro-orm - Release 2.0.1

Published by byjg almost 7 years ago

Added the preserveCase options

php-micro-orm - Release 2.0.0

Published by byjg over 7 years ago

  • Several changes
  • Break compatibility with previous versions
  • Split Query into Query and Update for better understanding
  • Reorganizing Unittest
  • Moved Top and Limit to the Query object
  • Added fieldAlias to Mapper object
  • Change how FOR UPDATE is built;
  • Improved how to process the Literal
  • Fixed bug when you had a Literal and two or more ->where() methods
php-micro-orm - Release 1.0.1

Published by byjg over 7 years ago

  • Added tables with no auto-increment fields;
  • Added the function for Update and Select modifiers
  • Added the Literal property to be used directly into database.
  • Fix fieldMap for update
php-micro-orm - Release 1.0.0

Published by byjg over 8 years ago

First Initial Release

Package Rankings
Top 8.65% on Packagist.org
Badges
Extracted from project README
Build Status Opensource ByJG GitHub source GitHub license GitHub release