mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Removed db.get_outbound_foreign_keys method
It duplicated the functionality of db.foreign_keys_for_table.
This commit is contained in:
parent
4d798ca0e3
commit
124acf34a6
3 changed files with 2 additions and 9 deletions
|
|
@ -319,11 +319,6 @@ class Database:
|
|||
async def get_all_foreign_keys(self):
|
||||
return await self.execute_fn(get_all_foreign_keys)
|
||||
|
||||
async def get_outbound_foreign_keys(self, table):
|
||||
return await self.execute_fn(
|
||||
lambda conn: get_outbound_foreign_keys(conn, table)
|
||||
)
|
||||
|
||||
async def get_table_definition(self, table, type_="table"):
|
||||
table_definition_rows = list(
|
||||
await self.execute(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue