MCPcopy Create free account
hub / github.com/ActiveState/code / gensql

Function gensql

recipes/Python/577605_AuGenerate_Simple_SQL/recipe-577605.py:66–74  ·  view source on GitHub ↗
(imp,*args, **kwds)

Source from the content-addressed store, hash-verified

64 return '-'.join(map(str,args))
65
66def gensql(imp,*args, **kwds):
67 if imp == "insert":
68 return gen_insert(*args, **kwds)
69 elif imp == "update":
70 return gen_update(*args, **kwds)
71 elif imp == "select":
72 return gen_select(*args, **kwds)
73 else:
74 return None
75
76
77if __name__ == '__main__':

Callers 8

selectMethod · 0.85
selectMethod · 0.85
updateMethod · 0.85
insertMethod · 0.85
selectBeginCondMethod · 0.85
updateOKMethod · 0.85
insertEndMethod · 0.85
recipe-577605.pyFile · 0.85

Calls 3

gen_insertFunction · 0.85
gen_updateFunction · 0.85
gen_selectFunction · 0.85

Tested by

no test coverage detected