MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / stmt3

Method stmt3

test/dialect/postgresql/test_compiler.py:3499–3507  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3497 return stmt.on_conflict_do_nothing(index_elements=["id", "bar"])
3498
3499 def stmt3():
3500 stmt = stmt0()
3501 return stmt.on_conflict_do_update(
3502 index_elements=["id"],
3503 set_={
3504 "bar": random.choice(["a", "b", "c"]),
3505 "baz": random.choice(["d", "e", "f"]),
3506 },
3507 )
3508
3509 def stmt31():
3510 stmt = stmt0()

Callers

nothing calls this directly

Calls 1

on_conflict_do_updateMethod · 0.45

Tested by

no test coverage detected