MCPcopy Index your code
hub / github.com/davispuh/MySQL-for-Python-3 / new_table_name

Method new_table_name

tests/capabilities.py:57–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 return '"%s"' % ident
56
57 def new_table_name(self):
58 i = id(self.cursor)
59 while True:
60 name = self.quote_identifier('tb%08x' % i)
61 if not self.table_exists(name):
62 return name
63 i = i + 1
64
65 def create_table(self, columndefs):
66

Callers 1

create_tableMethod · 0.95

Calls 2

quote_identifierMethod · 0.95
table_existsMethod · 0.95

Tested by

no test coverage detected