Skip to content

Brill-Power/Ducklinq

Repository files navigation

Ducklinq

LINQ-to-DuckDb. A LINQ wrapper around DuckDB.NET using Dapper for materialisation.

Installation

Ducklinq is available on NuGet.

Getting Started

The unit tests should give an idea of what is possible, but in brief:

using BrillPower.Ducklinq;

DuckDbContext dbContext = new DuckDbContext("DataSource=file.db");
IQueryable<Integer> query = dbContext.Get<Integer>();
List<Integer> integers = query.Where(i => i.Foo == 3).ToList();

public class Integer
{
    public int Foo { get; set; }
    public int Bar { get; set; }
}

Documentation

...is a little sparse at the moment.

Support

If you find a bug, please file an issue or submit a PR.

About

LINQ-to-DuckDb

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages