add progress project model, repository

This commit is contained in:
shahzeydyfah
2024-02-28 06:12:45 +03:30
parent e344c6d361
commit efe0d4bf50
6 changed files with 217 additions and 1 deletions
-1
View File
@@ -19,7 +19,6 @@ class ProjectRepository(BaseRepository[ProjectModel]):
async def create(self,coding:ProjectModel):
print("11111111111111111")
coding.counter = 1
last_project = await use_collection(COLLECTION).find({}).sort("$natural",-1).to_list(None)
if last_project: