libQuillDB 0.9.0
Virion for async SQLite and MySQL queries on a worker thread, with prepared statements kept in .sql files.
Download .phar
Description
libQuillDB
Async database access for plugins: queries run on a worker thread and come back as callbacks.
$db = QuillDB::open($this, $this->getConfig()->get("database"), ["sqlite" => "sqlite.sql", "mysql" => "mysql.sql"]);
$db->select("claims.in_chunk", ["x" => $x, "z" => $z], fn(array $rows) => $this->load($rows));
Queries live in .sql files with names:
-- #{ claims.in_chunk
-- # :x int
-- # :z int
SELECT * FROM claims WHERE chunk_x = :x AND chunk_z = :z;
-- #}
Changelog
- Named queries in .sql files
Versions
| Version | API | Released | Downloads | |
|---|---|---|---|---|
| 1.0.0 | 5.0.0 – 5.99.0 | 2026-06-02 | 1,107 | – |
| 0.9.0 | 5.0.0 – 5.99.0 | 2025-10-05 | 553 | – |
Reviews
No reviews yet.
Reviews are off in the preview.