$connection
$connection : string
stores the connection resource
class REDIS_connector
resultToAssoc(resource $result, string $query) : array
DESCRIPTOR: coverts a MYSQL result to an array
resource | $result | |
string | $query | would rather not send the query (its unneeded for functionality) but we do want to know what happened if the convert to array failed |
$result
update(string $query, array $args = false) : \JCORE\DATA\API\REDIS\$result
DESCRIPTOR: EXECUTE AN UPDATE if $args["returnArray"] === true the function will return the number of affected rows as well as the "mysql_info" from the query
string | $query | |
array | $args |
create(string $query, array $args = false) : \JCORE\DATA\API\REDIS\$result
DESCRIPTOR: EXECUTE AN INSERT if $args["returnArray"] === true the function will return the "mysql_insert_id" the number of "mysql_affected_rows" as well as the "mysql_info" from the query
string | $query | |
array | $args |
delete(string $query, array $args = false) : \JCORE\DATA\API\REDIS\bool/array
DESCRIPTOR: EXECUTE A DELETE if args["returnArray"] === true the function will return the number of affected rows as well as the "mysql_info" from the query
string | $query | |
array | $args |
$result