Releases: OssiPesonen/Elixir
0.1.7
Introduced a magic method fix for the previous release, which now strips the $alias
from a join in the following cases:
$excludeAliases
is set to TRUE$join
matches$alias
$alias
is empty (empty string or NULL)
This will potentially change built SQL clauses without breaking them, if you've passed the table name to $alias
creating a duplicate.
->join('parent', 'child', 'child', 'child.fk_parent = parent.id')
// INNER JOIN child child ON child.fk_parent = parent.id
This will now remove the second child
from the SQL.
0.1.6
Extended the QueryBuilder's join clauses to enable the exclusion of aliases from the query either completely, or on a join basis.
0.1.5
Added a safety feature where using multiple where() calls after the initial one get pushed to use andWhere(). This protects the developer from making a mistake when building the query WHERE conditions. Also, if the developer begins the WHERE clause by calling andWhere(), the WHERE clause will begin with WHERE (1 = 1) and all conditions after that will be added to the SQL as intended.
0.1.4
Added extended parameter types for array types
0.1.3
Lowered PHP settings to 7.1 and added .gitattributes so tests folder wont get archived
0.1.2
Extended tests to cover both ExpressionBuilder and CompositeExpression classes
0.1.1
Removed mistakenly committed vendor and .idea folders. After this installed .gitignore with correct rules.
0.1.0
Initial commit