add versioning to markup languages and reparse old format version posts

This commit is contained in:
2025-08-16 05:28:44 +03:00
parent 382080ceaa
commit cf4bf3caa3
5 changed files with 34 additions and 8 deletions

View File

@ -202,9 +202,9 @@ class Model:
@classmethod
def findall(cls, condition):
def findall(cls, condition, operator='='):
rows = db.QueryBuilder(cls.table)\
.where(condition)\
.where(condition, operator)\
.all()
res = []
for row in rows: