Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.34 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.34 KB

LINQ To AQL

LINQ to AQL is a .NET client library and LINQ provider for AsterixDB.

LINQ to AQL supports querying AsterixDB by generating AQL (Asterix Query Language) expressions.

Dev Setup

Get the .NET Core SDK for your platform.

There should be no warnings and no test failures in the following steps.

Build

dotnet restore then dotnet build in src/LinqToAql (build output is src/LinqToAql/bin by default).

Test

dotnet restore in test/LinqToAql.Tests.Common

Unit Tests: dotnet restore then dotnet test in test/LinqToAql.Tests.Unit.

Integration Tests: dotnet restore then dotnet test in test/LinqToAql.Tests.Integration.

The AsterixDB endpoint defaults to http://localhost:19002.

To change the endpoint, update the AsterixDBEndpoint key in testsettings.json. Alternatively, set the environment variable LinqToAql.Tests.AsterixDBEndpoint (overrides the json file).

Planned Work

  • Improve GroupBy support
  • More AQL function support
  • UDF support
  • Add trace logs so users can (if enabled) see executed AQL queries with IntelliTrace or a custom writer
  • Generate model classes given a dataverse
  • Parameterized queries (when AsterixDB supports them)