MCPcopy Create free account
hub / github.com/Vanderhoof/PyDBML / render_col

Function render_col

pydbml/renderer/dbml/default/reference.py:26–31  ·  view source on GitHub ↗
(col: List[Column])

Source from the content-addressed store, hash-verified

24
25
26def render_col(col: List[Column]) -> str:
27 if len(col) == 1:
28 return f'"{col[0].name}"'
29 else:
30 names = (f'"{c.name}"' for c in col)
31 return f'({", ".join(names)})'
32
33
34def render_options(model: Reference) -> str:

Callers 3

test_singleMethod · 0.90
test_multipleMethod · 0.90

Calls

no outgoing calls

Tested by 2

test_singleMethod · 0.72
test_multipleMethod · 0.72