how to get information about foreign key constraints (was: foreign key constraints not being added on create table node neo) #278
-
node neo index.js
Results for t2 table that has foreign key
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
The describe output matches the DuckDB CLI:
What results or behavior do you expect? |
Beta Was this translation helpful? Give feedback.
-
I was looking for the output to show the foreign key relationship. Is there another query I need to run to get the relationship details? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Awesome, thank you! |
Beta Was this translation helpful? Give feedback.
See https://duckdb.org/docs/stable/sql/meta/information_schema#constraint_column_usage-constraint-column-usage