| c26fb18b | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
implement filter() for types that had their own compare() |
| 4e4e3ad2 | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
streamline select and filter
both should use the same parameter names |
| 45664274 | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
isset is not good for testing an array containing NULL |
| bd41b7a3 | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
method signature adjustments in mock objects |
| 020b6ad3 | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
integrate select() into SchemaData
Because the signature of buildGetDataSQL() had to change a lot of tests are breaking currently. Those tests need to be adjusted first, then we can see if the imple
integrate select() into SchemaData
Because the signature of buildGetDataSQL() had to change a lot of tests are breaking currently. Those tests need to be adjusted first, then we can see if the implemention itself is correct.
After this has been done, the select has to be adjusted to select the pageid as PID to make it available to possible select() implementations that rely on the availability of that alias.
show more ...
|
| 0dbe7bf6 | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
group by the alias not the raw column
since the type may do somthing more fancy than accessing the column |
| 578407b2 | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
have types define the column selection |
| 9ee8a979 | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
introduce getSelectStatement to modify selects later on |
| 27f6439f | 19-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
introduce getColName vs. getFullColName |
| 8fefbb59 | 18-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
register a JSON function in sqlite
This way types could select multiple columns into a single return value.
It probably makes sense to register a similar function as a AGGREGATE function as well. |
| 1c9ef013 | 18-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
store page titles in DB for reference
All page titles are now stored in the database to reference them later in queries for the page type. |
| d7b29650 | 18-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
add a titles table |
| 7500b671 | 18-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
simplify compare switch |
| 4c13ff97 | 18-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
rename $type to $op to avoid confusion about what a type is |
| cf03981f | 14-Jul-2016 |
Michael Grosse <mic.grosse@posteo.de> |
Test miscellaneous syntax Like group by and order by |
| 1e341b84 | 14-Jul-2016 |
Michael Grosse <mic.grosse@posteo.de> |
Run tests on stable again
With the new stable release Elenor of Tsort, struct should run with out out problems. |
| 384e59cb | 14-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
first idea for passing the QueryBuilder to types
this is not final but a base for discussion |
| 2081d4ca | 14-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
use generic where in Search |
| 465f3e02 | 14-Jul-2016 |
Michael Grosse <mic.grosse@posteo.de> |
Ensure Exception on conflicting or missing alias |
| d21da21c | 14-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
make generic where() available to use
this makes it easier to pass the logic operator dynamically |
| 01493ed8 | 14-Jul-2016 |
Michael Grosse <mic.grosse@posteo.de> |
Test overwriting in SELECTs and arbitrary SELECTs |
| 8de0ec85 | 14-Jul-2016 |
Michael Grosse <mic.grosse@posteo.de> |
Test Select functionality
addSelectStatement has yet to get tests |
| aa1f5074 | 14-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
code style adjustment, no single line exceptions |
| b69eb99a | 14-Jul-2016 |
Michael Grosse <mic.grosse@posteo.de> |
Ensure Exception on duplicate alias and fix comma |
| efcebcd0 | 14-Jul-2016 |
Michael Grosse <mic.grosse@posteo.de> |
Add test for QueryBuilder joins |