MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / references_to_sql

Method references_to_sql

openlibrary/utils/schema.py:132–133  ·  view source on GitHub ↗
(self, column_name, value)

Source from the content-addressed store, hash-verified

130 )
131
132 def references_to_sql(self, column_name, value):
133 return {"constraint": f"foreign key ({column_name}) references {value}"}
134
135
136class PostgresAdapter(AbstractAdapter):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected