Skip to content

Support sessions bound per mapper or table - #42

Merged
WiktorB2004 merged 3 commits into
mainfrom
support-per-mapper-binds
Sep 26, 2026
Merged

WiktorB2004 merged 3 commits into
mainfrom
support-per-mapper-binds

Conversation

@WiktorB2004

Copy link
Copy Markdown
Owner

Resolve the connection for audit writes and reads through Session.get_bind, so sessions configured only with binds work: entries follow their object's base mapper, one audit_transaction row per connection, and log() without obj and the queries use the audit tables' bind with a clear error when there is none.

@WiktorB2004 WiktorB2004 self-assigned this Sep 26, 2026
@WiktorB2004
WiktorB2004 marked this pull request as ready for review September 26, 2026 00:01
@WiktorB2004
WiktorB2004 merged commit b30ddea into main Sep 26, 2026
14 checks passed
@WiktorB2004
WiktorB2004 deleted the support-per-mapper-binds branch September 26, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant