MCPcopy Index your code
hub / github.com/Vanderhoof/PyDBML / comment_to_sql

Function comment_to_sql

pydbml/renderer/sql/default/utils.py:8–9  ·  view source on GitHub ↗
(val: str)

Source from the content-addressed store, hash-verified

6
7
8def comment_to_sql(val: str) -> str:
9 return comment(val, '--')
10
11
12def reorder_tables_for_sql(tables: List['Table'], refs: List['Reference']) -> List['Table']:

Callers 9

test_commentMethod · 0.90
generate_inline_sqlFunction · 0.90
generate_not_inline_sqlFunction · 0.90
render_enumFunction · 0.90
render_enum_itemFunction · 0.90
create_componentsFunction · 0.90
render_pkFunction · 0.90
create_componentsFunction · 0.90
render_columnFunction · 0.85

Calls 1

commentFunction · 0.90

Tested by 1

test_commentMethod · 0.72