rryqszq4 / ngx-php

ngx-php - Embedded php7 or php8 scripting language for nginx module. Mainline development version of the ngx-php.
BSD 2-Clause "Simplified" License
584 stars 56 forks source link

Add prepared statements in mysql async #82

Open joanhey opened 4 years ago

joanhey commented 4 years ago

Try to add server-side prepared statements. Info: https://dev.mysql.com/doc/refman/8.0/en/sql-syntax-prepared-statements.html https://dev.mysql.com/doc/refman/8.0/en/c-api-prepared-statements.html

rryqszq4 commented 4 years ago

OK, Perhaps the implementation of amp is a good reference. https://github.com/amphp/mysql/blob/master/src/Internal/Processor.php#L377