Gravity: added support for REPLACE...RETURNING

Review Request #733 — Created Feb. 10, 2021 and submitted

m.vanberkum
Lunr
feature/replaceReturning
b0d83e1...
lunr
Gravity: added support for REPLACE...RETURNING

Made sure query works in MariaDB.
Wrote unit test.
Ran unit tests.

  • 0
  • 0
  • 3
  • 0
  • 3
Description From Last Updated
smillernl
  1. 
      
  2. src/Lunr/Gravity/Database/DatabaseDMLQueryBuilder.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    When making a review make sure to set the branch to the branch you want to diff from. You currently also have your other code here.

  3. Does it actually depend on these? or do they perform a similar feature test?

    1. Right now in the updated version it only depends on the testImplodeQuery... because get_returning_query uses implode_query.
      The previous version did also depend on testGetReplaceValuesQuery but that got removed because the new version doesn't.

  4. 
      
m.vanberkum
m.vanberkum
pprkut
  1. 
      
    1. I knew it had to go, I just forgot to actually remove it facepalm.

  2. 
      
m.vanberkum
pprkut
  1. Ship It!
  2. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...