Skip to content

Releases: harp-orm/query

Custom SQL in Joins

Choose a tag to compare

@ivank ivank released this 07 Jul 15:06
  • Ability to add custom SQL objects as values to Join's conditions. This allows you to take advantage of escaping columns and still using custom SQL
// JOIN table ON column1 IS NULL
$select->join('table', array('column1' => new SQL('IS NULL'));
  • Fix Set Multiple column escaping bug

Table and Column Escaping

Choose a tag to compare

@ivank ivank released this 01 Jul 12:58

Add DB::ESCAPING_MYSQL and DB::ESCAPING_STANDARD to the driver setting, by default its disabled.

Column and table names will now be escaped properly, everywhere except in raw SQL.
Column names are split on the "." and the part escaped separately.

You can now have spaces in your table names, special chars, sql keywords etc.

First Stable Release

Choose a tag to compare

@ivank ivank released this 23 Jun 11:35
0.2.1

:memo: more elevator pitch

Old Namespace Convention

Pre-release

Choose a tag to compare

@ivank ivank released this 22 Jan 09:40

I'm making a release with the old style of namespaces before the conversion, in case we need to revert.

Working Draft

Working Draft Pre-release
Pre-release

Choose a tag to compare

@ivank ivank released this 21 Dec 09:30

I'm considering changing direction with this library, and this is a stable implementation that I want to reference.

  • All select, update, delete and insert queries are functional
  • Integration tests cover all query types
  • Started work on unit tests