mysql - PHP function on SQL selectee -


is possible perform specific php function on data being returned database query, @ moment query still running?

let's in class , have following pseudo sql should return couple of rows:

$results = $this->db->query("select php_function(column), column 2 table")->fetchall(pdo::fetch_assoc); 

php_function json_decode example.

or not possible , require additional loop on results in order such thing?

a manual page function you're using contains example


Comments

Popular posts from this blog

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -