| 1 | #-*- coding: utf-8 -*- |
| 2 | |
| 3 | class SqlBase(object): |
| 4 | def __init__(self, **kwargs): |
| 5 | pass |
| 6 | |
| 7 | def init_database(self, database_name): |
| 8 | pass |
| 9 | |
| 10 | def init_proxy_table(self, table_name): |
| 11 | pass |
| 12 | |
| 13 | def insert_proxy(self, table_name, proxy): |
| 14 | pass |
| 15 | |
| 16 | def select_proxy(self, table_name, **kwargs): |
| 17 | pass |
| 18 | |
| 19 | def update_proxy(self, table_name, proxy): |
| 20 | pass |
| 21 | |
| 22 | def delete_proxy(self, table_name, proxy): |
| 23 | pass |
| 24 | |
| 25 | def delete_old(self, table_name, day): |
| 26 | pass |
| 27 | |
| 28 | def get_proxy_count(self, table_name): |
| 29 | pass |
| 30 | |
| 31 | def get_proxy_ids(self, table_name): |
| 32 | pass |
| 33 | |
| 34 | def get_proxy_with_id(self, table_name, id): |
| 35 | pass |
| 36 | |
| 37 | def del_proxy_with_id(self, table_name, id): |
| 38 | pass |
| 39 | |
| 40 | def del_proxy_with_ip(self, table_name, ip): |
| 41 | pass |
| 42 | |
| 43 | def commit(self): |
| 44 | pass |
nothing calls this directly
no outgoing calls
no test coverage detected