-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
help wantedExtra attention is neededExtra attention is needednew featureNew feature or requestNew feature or request
Milestone
Description
$db = new Clue\React\Sqlite\SqliteClient(':memory:');
$db->on('open', function () use ($db) {
$db->createFunction('hash', 'sha1', 1);
});
$db->query('SELECT hash("foo")')->then('var_dump');
See https://www.php.net/manual/en/sqlite3.createfunction.php
Refs #47
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needednew featureNew feature or requestNew feature or request