Wednesday, 10 May 2017

PHP - PDO like toolbox for HapiJS / Node

I am developing a HapiJS backend and was wondering if an PDO like toolbox exists that would take care of modulating MySQL queries.

Right now I am simply adding the string into the query string ... WHERE X = '"+someValue+"' AND ... and I do not consider this being typesafe etc...

In PDO you can assign the values to the query which handles types automatically...



via El Dude

No comments:

Post a Comment