Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vanderhoof/PyDBML
/ get_full_name_for_sql
Function
get_full_name_for_sql
pydbml/renderer/sql/default/utils.py:33–37 ·
view source on GitHub ↗
(model: Union[Table, Enum])
Source
from the content-addressed store, hash-verified
31
32
33
def
get_full_name_for_sql(model: Union[Table, Enum]) -> str:
34
if
model.schema ==
'public'
:
35
return
f
'"{model.name}"'
36
else
:
37
return
f
'"{model.schema}"."{model.name}"'
Callers
8
test_public
Method · 0.90
test_schema
Method · 0.90
generate_inline_sql
Function · 0.90
generate_not_inline_sql
Function · 0.90
render_enum
Function · 0.90
create_components
Function · 0.90
render_enum
Function · 0.90
render_column
Function · 0.90
Calls
no outgoing calls
Tested by
2
test_public
Method · 0.72
test_schema
Method · 0.72