History log of /plugin/struct/meta/QueryBuilder.php (Results 1 – 16 of 16)
Revision Date Author Comments
# 150f5bc9 14-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Adjust tests for named parameters in SQL


# e65ff35e 02-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Use named parameters in SQL queries


# 7234bfb1 13-Sep-2023 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes


# 0549dcc5 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

PHP code sniffer autofixes


# 748e747f 09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Manual coding style fixes

Method and variable visibility, camel case method names. Some exclusions due to inheritance


# d6d97f60 09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Automatic coding style fixes


# af993d55 03-Jan-2017 Michael Grosse <grosse@cosmocode.de>

fix: stop OR filters causing problems

The filters coming from syntax should be grouped together in a subgroup
to that OR-filters cannot undo the filters on latest=1 etc.

Since we cannot know in the

fix: stop OR filters causing problems

The filters coming from syntax should be grouped together in a subgroup
to that OR-filters cannot undo the filters on latest=1 etc.

Since we cannot know in the filter function whether there is already a
subgroup for us to use or which to use, the solution was to give the
correct subgroup to the filter function directly.

Instead of adding another parameter to the already long list of
parameters for that function, I have chosen to give the
QueryBuilderWhere a reference back to the original QueryBuilder.

show more ...


# db7970ca 07-Dec-2016 Andreas Gohr <gohr@cosmocode.de>

use generated table alias in joins. fixes #246

For joining the multi table, we used the colref of the refrenced multi
column in creating the alias of the joined table. But when referencing
multi col

use generated table alias in joins. fixes #246

For joining the multi table, we used the colref of the refrenced multi
column in creating the alias of the joined table. But when referencing
multi columns from different schemas, the colref can be the same for two
columns. This patch now changes it to make use of the
generateTableAlias() method in our query builder, which makes sure all
aliases are unique.

show more ...


# 45664274 19-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

isset is not good for testing an array containing NULL


# 9ee8a979 19-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

introduce getSelectStatement to modify selects later on


# aa1f5074 14-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

code style adjustment, no single line exceptions


# 2f68434d 14-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

use the query builder in Search

Tests still run through, so it seems to be correct so far


# 83cb959b 14-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

added group and sort by


# 2b5df26e 14-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

fix and test placeholder replacement


# df30dbf7 14-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

tests for where


# 8c551fd7 13-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

test that left joins are positioned correctly