Craticula.MongoDB.Driver 1.3.0

dotnet add package Craticula.MongoDB.Driver --version 1.3.0
                    
NuGet\Install-Package Craticula.MongoDB.Driver -Version 1.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Craticula.MongoDB.Driver" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Craticula.MongoDB.Driver" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Craticula.MongoDB.Driver" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Craticula.MongoDB.Driver --version 1.3.0
                    
#r "nuget: Craticula.MongoDB.Driver, 1.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Craticula.MongoDB.Driver@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Craticula.MongoDB.Driver&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Craticula.MongoDB.Driver&version=1.3.0
                    
Install as a Cake Tool

Craticula.MongoDB.Driver

The MongoDB execution adapter of Craticula. It compiles the canonical IR with Craticula.Mongo and runs the aggregation pipeline through the official MongoDB .NET driver, with paging, counts and streamed export.

Install

dotnet add package Craticula.MongoDB.Driver

Depends on MongoDB.Driver [3.14.1, 4.0) and Craticula.Mongo.

Example

using Craticula.Core.Ir;
using Craticula.Core.Schema;
using Craticula.Mongo;
using Craticula.MongoDB.Driver;
using MongoDB.Driver;

public static class Example
{
    public static Task<MongoGridPage> Fetch(
        IMongoDatabase database, GridSchema schema, FilterNode? filter, IReadOnlyList<SortItem>? sort, PageSpec page) =>
        MongoGridQuery.FetchPageAsync(
            database,
            new MongoQueryRequest { Schema = schema, Filter = filter, Sort = sort, Page = page },
            includeRowCount: true);
}

Compatibility

Implements Craticula spec version 0.3.0 (the language-neutral semantics and conformance fixtures in the repository, spec/). Targets .NET 10.

License

Apache-2.0. Source and issues: https://github.com/pluries/craticula.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 83 11/26/2026
1.2.1 108 11/15/2026
1.2.0 141 11/12/2026
1.1.0 99 11/12/2026
1.0.0 107 11/10/2026