Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
def
comment_to_sql(val: str) -> str:
9
return
comment(val,
'--'
)
10
11
12
def
reorder_tables_for_sql(tables: List[
'Table'
], refs: List[
'Reference'
]) -> List[
'Table'
]:
Callers
9
test_comment
Method · 0.90
generate_inline_sql
Function · 0.90
generate_not_inline_sql
Function · 0.90
render_enum
Function · 0.90
render_enum_item
Function · 0.90
create_components
Function · 0.90
render_pk
Function · 0.90
create_components
Function · 0.90
render_column
Function · 0.85
Calls
1
comment
Function · 0.90
Tested by
1
test_comment
Method · 0.72