Testing Done: |
|
---|
[DataAccess] Update implemented in query builder
Review Request #40 — Created Jan. 15, 2013 and submitted
Information | |
---|---|
Felipe | |
Lunr | |
https://github.com/madsmash/lunr/tree/sessionDAO | |
Reviewers | |
lunr | |
Created functions to enable UPDATE queries in queryBuilder
Unit tests Used already in AMC, it works! (except for the part where you have to deal with wildcards not being wildcards and equals and shit...) Depends on http://reviews.lunr.nl/r/37/
-
-
src/Lunr/DataAccess/DatabaseDMLQueryBuilder.php (Diff revision 1) Maybe making use of array_push here like for get_select_query?
-
-
src/Lunr/DataAccess/DatabaseDMLQueryBuilder.php (Diff revision 1) Looks like it is already partially made in get_delete_query. for replace and insert the need i less important but maybe we should try to uniformize.
Change Summary:
Array Push - moderated
-
Missing entries in the DMLQueryBuilderInterface
-
src/Lunr/DataAccess/DatabaseDMLQueryBuilder.php (Diff revision 2) you fixed the one above, but left this one alone :)
-
src/Lunr/DataAccess/MySQLDMLQueryBuilder.php (Diff revision 2) That belongs further up in the file, at least above select, ideally before insert_mode
Change Summary:
Fixed review comments
Diff: |
Revision 3 (+481 -2)
|
---|