(cur, tabledef, name="copy_in")
| 32 | |
| 33 | |
| 34 | def ensure_table(cur, tabledef, name="copy_in"): |
| 35 | cur.execute(f"drop table if exists {name}") |
| 36 | cur.execute(f"create table {name} ({tabledef})") |
| 37 | |
| 38 | |
| 39 | async def ensure_table_async(cur, tabledef, name="copy_in"): |
no test coverage detected