sql

Database framework and query builder

OTHER License

Downloads
15.8K
Stars
16
Committers
5
sql - Maintenance release Latest Release

Published by mindplay-dk almost 2 years ago

This release unblocks mindplay/unbox^3 and psr/log^3.

sql - Maintenance release

Published by mindplay-dk almost 2 years ago

This release includes a bugfix, which could be a breaking change in certain iteration scenarios - run your tests, and read the commit log if you run into trouble.

The package now requires PHP 7.3 and builds on PHP 8.0.

sql - Maintenance + documentation release

Published by mindplay-dk over 5 years ago

This release fixes some architectural issues by refactoring to remove some API points that didn't actually work - e.g. query-builder methods that would lead to SQL queries that couldn't actually be executed.

Removal of those API points strictly is a breaking change, but as far as versioning, this release is regarded as a bugfix, since the API points that have been removed never produced working code in the first place.

This is also the first release that includes proper documentation! 🎉

sql - Bugfix release

Published by mindplay-dk about 6 years ago

Improved error-handling in Connection::transact() under PHP 7

sql - Minor feature release

Published by mindplay-dk almost 7 years ago

Adds support for DATE columns via DateType

sql - Minor bugfix release

Published by mindplay-dk over 7 years ago

This release fixes a minor issue with SQL formatting in error-messages.

sql -

Published by mindplay-dk over 7 years ago

Add extension requirements to composer.json

This release adds support for schema-segregation in Postgres - as well as emulation under MySQL by prefixing table-names.

This leads to a number of BREAKING CHANGES which are mostly internal and should be zero or very little work to address to client code:

The Driver interface has a new method - if you implemented your own driver, you will need to implement the new method. (Included Postgres and MySQL drivers have been upgraded.)

The Table constructor signature has changed - a new dependency was introduced. If you override the constructor signature in your Table extensions, you will need to add the missing argument - the DI container will take care of the rest.

Likewise, the TableFactory interface has changed - if you implement your own TableFactory extension, you will need to add the new argument.

sql -

Published by mindplay-dk almost 8 years ago

sql - Patch release

Published by mindplay-dk about 8 years ago

Minor patch, may address an issue with timestamps on systems with certain timezone settings.

sql - Major release

Published by mindplay-dk about 8 years ago

Major release with some breaking changes - mainly the upgrade to mindplay/unbox^2.

sql - Minor Update

Published by mindplay-dk over 8 years ago

sql - Minor BC break

Published by mindplay-dk over 8 years ago

The Connection::fetch() method no longer includes the $mappers argument, as this feature overlapped with the Mappers trait and MapperProvider interface.

Mappers are highly query-specific and completely dependent on the returned data, the order in which mappers are being applied, and so on.

To upgrade, apply your mappers to your query object (map() method) rather than in your call to Connection::fetch().

sql - minor update

Published by mindplay-dk over 8 years ago

Minor BC breaks in PDOProvider.

sql - Another Postgres bugfix release

Published by mindplay-dk over 8 years ago

sql - Bugfix for Postgres UPDATE query-builder

Published by mindplay-dk over 8 years ago

sql - Feature update

Published by mindplay-dk over 8 years ago

Adds optional PRO providers.

No BC breaks since 0.3.

sql - Unstable

Published by mindplay-dk over 8 years ago

Another round of architectural improvements.

Still unstable, still needs test-coverage.

sql - Unstable

Published by mindplay-dk over 8 years ago

Surface API shoud be relatively stable now - internal API still subject to changes.

This is an unstable release - many tests are still missing.