[Gravity] fetch result set as numeric array

Review Request #814 — Created Nov. 8, 2021 and submitted

b.stoop
Lunr
gravity/dao
834f1f4...
lunr

fetch result set as numeric array

Unit tests

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

    I'd rather have it combined, and then supported in all current result methods. Like

    result_array($query, $associative = TRUE)

  3. 
      
b.stoop
pprkut
  1. 
      
  2. TRUE for returning rows as associative arrays,
    FALSE for returning rows as enumerated arrays

  3. I like the way you did it for sqlite better :)

  4. 
      
b.stoop
smillernl
  1. Ship It!
  2. 
      
pprkut
  1. Ship It!
  2. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...