mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Documentation and tests for table.drop() method
This commit is contained in:
parent
9cb045284e
commit
535a5ea476
3 changed files with 19 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ class Table:
|
|||
return self
|
||||
|
||||
def drop(self):
|
||||
return self.db.conn.execute("DROP TABLE {}".format(self.name))
|
||||
self.db.conn.execute("DROP TABLE {}".format(self.name))
|
||||
|
||||
def guess_foreign_table(self, column):
|
||||
column = column.lower()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue