Skip to content

Add EventProjection alternative to flat table projection docs#14

Merged
jeremydmiller merged 1 commit intomainfrom
docs/event-projection-flat-tables
Mar 26, 2026
Merged

Add EventProjection alternative to flat table projection docs#14
jeremydmiller merged 1 commit intomainfrom
docs/event-projection-flat-tables

Conversation

@jeremydmiller
Copy link
Copy Markdown
Member

Summary

  • Add QueueSqlCommand to IDocumentOperations and DocumentSessionBase for queuing raw SQL in the unit of work batch
  • Add ExecuteSqlStorageOperation to support batched raw SQL execution
  • Add new code sample in Polecat.Tests demonstrating EventProjection with QueueSqlCommand for flat table projections
  • Update flat table projection docs with EventProjection as a more flexible alternative to FlatTableProjection

Test plan

  • Verify Polecat and Polecat.Tests projects compile with the new code
  • Review documentation renders correctly

🤖 Generated with Claude Code

Add QueueSqlCommand to IDocumentOperations for queuing raw SQL in the
unit of work batch. Document using EventProjection with QueueSqlCommand
as a more explicit but more flexible alternative to the declarative
FlatTableProjection API for projecting events to flat SQL tables.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jeremydmiller jeremydmiller merged commit be24bb2 into main Mar 26, 2026
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