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-17 10:36:28 +02:00
parent ae4eda04ba
commit 3d2ed02fb1
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,
)