MCPcopy Index your code
hub / github.com/pyload/pyload / insert2

Method insert2

module/database/DatabaseBackend.py:319–322  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

317 c.execute("INSERT INTO storage (identifier, key, value) VALUES (?, ?, ?)", ("foo", i, "bar"))
318 @style.async
319 def insert2(db):
320 c = db.createCursor()
321 for i in range(1000*1000):
322 c.execute("INSERT INTO storage (identifier, key, value) VALUES (?, ?, ?)", ("foo", i, "bar"))
323
324 @style.queue
325 def select(db):

Callers 1

DatabaseBackend.pyFile · 0.80

Calls 2

createCursorMethod · 0.80
executeMethod · 0.80

Tested by

no test coverage detected