Skip to content

Support loading extensions #58

Open
@clue

Description

@clue
$db = new Clue\React\Sqlite\SqliteClient(':memory:');

$db->on('open', function () use ($db) {
    $db->loadExtension('hash');
});

$db->query('SELECT hash("foo")')->then('var_dump');

See https://www.php.net/manual/en/sqlite3.loadextension.php
Refs #47 and #54

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needednew featureNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions