The database query from PHP+v8js

For PHP there is the v8js extension that allows you to run Javascript and get the result.
Question — is it possible from within this Javascript-code to access the database (e.g., MySQL)?
October 8th 19 at 02:00
1 answer
October 8th 19 at 02:02
Well, you can using V8Js::registerExtension register js extension to your database (if that is available) which can draw out, for example using file_get_contents, and then through it to work with the database.

Find more questions by tags V8.jsMySQLPHPJavaScript