mirror of
https://github.com/bknd-io/bknd.git
synced 2026-10-25 19:58:31 +00:00
add sqlocal connection including example
This commit is contained in:
22 files changed
+1047
-56
No files matched your search
@@ -401,6 +401,7 @@ export class ModuleManager {
|
||||
|
||||
async build(opts?: { fetch?: boolean }) {
|
||||
this.logger.context("build").log("version", this.version());
|
||||
await this.ctx().connection.init();
|
||||
|
||||
// if no config provided, try fetch from db
|
||||
if (this.version() === 0 || opts?.fetch === true) {
|
||||
|
||||
Reference in new issue
Block a user