MCPcopy
hub / github.com/pyload/pyload / insert

Method insert

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

Source from the content-addressed store, hash-verified

312 class Test():
313 @style.queue
314 def insert(db):
315 c = db.createCursor()
316 for i in range(1000):
317 c.execute("INSERT INTO storage (identifier, key, value) VALUES (?, ?, ?)", ("foo", i, "bar"))
318 @style.async
319 def insert2(db):
320 c = db.createCursor()

Callers 10

thriftFunction · 0.45
DatabaseBackend.pyFile · 0.45
insertEventMethod · 0.45
addChildMethod · 0.45
_set_xfs_cookieMethod · 0.45
_set_xfs_cookieMethod · 0.45
_set_xfs_cookieMethod · 0.45
add_packageFunction · 0.45
home.jsFile · 0.45
home.jsFile · 0.45

Calls 2

createCursorMethod · 0.80
executeMethod · 0.80

Tested by

no test coverage detected