Open darkain opened 3 years ago
on second thought, this is essentially redefining the normal "select" function, but instead of using an auto-generated integer for the array key, it is instead based on a value from the result set. maybe create an internal chainable method for storing what the "key" column should be, with NULL/invalid values being the current automatic method.
collection, but instead of key=>value, it is key=>[array,of,values], where the array is a K/V of every column in the return list, and the parent key is a designated value from said column list.