MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / _executemany

Method _executemany

database/PostgreSQL.py:57–66  ·  view source on GitHub ↗
(self, sentence, values=None)

Source from the content-addressed store, hash-verified

55 raise e
56
57 def _executemany(self, sentence, values=None):
58 try:
59 cur = self._get_cursor()
60 generated = cur.executemany(sentence, values)
61 self._conn.commit()
62 self._destroy(cur)
63 cur.close()
64 return generated
65 except Exception as e:
66 raise e
67
68
69 def _select(self, sentence: str, values=None, showColumns = False):

Callers 1

insert_manyMethod · 0.95

Calls 3

_get_cursorMethod · 0.95
_destroyMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected