Jared Chmielecki
Jared Chmielecki
The docs have this use case for conditional queries ... more like this (from readme): ``` let results = await mysql.transaction() .query('DELETE FROM table WHERE id = ?', [someVar]) .query((r)...
thankyou for this! not a C / C++ dev so this saved me time!
fyi time.time() gives weird results which is why time.perf_counter exists for timing code executions
php -v PHP 7.0.2 (cli) (built: Jan 12 2016 15:00:50) ( ZTS ) Copyright (c) 1997-2015 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache...
changing line 22 to: `class Task extends \Threaded {` seems to fix it. Found that by the tip where https://github.com/krakjoe/pthreads/issues/548 says the docs are out of date.