Skip to content

Commit

Permalink
disable old way
Browse files Browse the repository at this point in the history
  • Loading branch information
lastlink committed Oct 1, 2022
1 parent 71c9b81 commit 3c81bb2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions samples/mermaid.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
if(addSpace):
print('')
# old way
for table in catalog.tables:
for childTable in table.getRelatedTables(TableRelationshipType.child):
print(' ' + table.name + ' ||--o{ ' + childTable.name + ' : "foreign key"')
print('')
print('```')
# for table in catalog.tables:
# for childTable in table.getRelatedTables(TableRelationshipType.child):
# print(' ' + table.name + ' ||--o{ ' + childTable.name + ' : "foreign key"')
# print('')
# print('```')

0 comments on commit 3c81bb2

Please sign in to comment.