You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 14, 2026. It is now read-only.
The dialect currently doesn't support multi-row / bulk inserts, although Spanner itself does.
engine = sa.create_engine(
"spanner+spanner:///...",
)
with engine.begin() as conn:
conn.execute(
sa.insert(Person)
.values([{"name": "jdoe"}, {"name": "jmoe"}])
.returning(Person.id)
)
session.commit()
sqlalchemy.exc.CompileError: The 'spanner+spanner' dialect with current database version settings does not support in-place multirow inserts.
Activity
feat: support multi-row inserts
feat: support multi-row inserts (googleapis#671)