feat: add shortcuts for insert_query and update_query into Database

example: await db.insert("table_name", base_model)
This commit is contained in:
dni ⚡
2024-10-10 09:07:29 +02:00
parent 512c85592f
commit 219e8746c5
3 changed files with 60 additions and 37 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import pytest
from lnbits.helpers import (
from lnbits.db import (
insert_query,
update_query,
)