marten-querying

Community

Effortlessly query Marten documents and projections for data retrieval and analytics.

Authorerikshafer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of querying read-side documents and projections in Marten efficiently, providing a seamless way to retrieve and analyze data stored in Marten event stores.

Core Features & Use Cases

  • Standard LINQ: Perform everyday queries with standard LINQ for the everyday case.
  • Compiled Queries: Optimize frequently called queries by compiling them for better performance.
  • Batched Queries: Execute multiple independent queries in a single round trip for efficiency.
  • Query Plans: Reusable queries that can run from multiple call sites with a single source of truth.
  • Raw JSON: Access raw JSONB data for forwarding to a cache or interfacing with non-.NET code.
  • Raw SQL: Execute complex queries using raw SQL for full control over the query logic.
  • Streaming JSON to HTTP: Stream JSONB data directly to HTTP responses for high-performance endpoints.
  • Use Case: When developing a read-side service that needs to query Marten documents and projections to fetch data for an application, this Skill can be used to streamline the query process.

Quick Start

Run the 'GetRideData' script to retrieve trip data from the Marten database.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: marten-querying
Download link: https://github.com/erikshafer/CritterCab/archive/main.zip#marten-querying

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.