aswi2021jmsd-gitlab/src/dao/repository.py @ d79d1369
1 |
class IRepository: |
---|---|
2 |
def create(self, sql: str, *args) -> bool: |
3 |
pass
|
4 |
|
5 |
def read(self, sql: str, item_id: int = None): |
6 |
pass
|
7 |
|
8 |
def update(self, sql: str, item_id: int, *args) -> bool: |
9 |
pass
|
10 |
|
11 |
def delete(self, sql: str, item_id: int) -> bool: |
12 |
pass
|