[Gravity] Add table escaping in MySQLSimpleDMLQueryBuilder::delete

Review Request #816 — Created Nov. 12, 2021 and submitted

b.stoop
Lunr
simpledmlbuilder/delete
b97d479...
lunr

Add table escaping in MySQLSimpleDMLQueryBuilder::delete

unit test and local tests

  • 0
  • 0
  • 2
  • 1
  • 3
Description From Last Updated
There are no open issues
smillernl
  1. Ship It!
  2. 
      
pprkut
  1. 
      
  2. src/Lunr/Gravity/Database/MySQL/MySQLSimpleDMLQueryBuilder.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
    The issue has been resolved. Show all issues

    That's because delete doesn't take columns, it says so in the phpdoc. $delete are table references.

  3. 
      
b.stoop
pprkut
  1. Ship It!
  2. 
      
pprkut
  1. 
      
  2. The issue has been resolved. Show all issues

    Delete

  3. The issue has been dropped. Show all issues

    I just noticed we don't actually do a trim anywhere. Can you just make sure it actually behaves like this?

  4. 
      
b.stoop
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...