Konnektr.Npgsql.Age
1.0.8
dotnet add package Konnektr.Npgsql.Age --version 1.0.8
NuGet\Install-Package Konnektr.Npgsql.Age -Version 1.0.8
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="Konnektr.Npgsql.Age" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Konnektr.Npgsql.Age" Version="1.0.8" />
<PackageReference Include="Konnektr.Npgsql.Age" />
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 Konnektr.Npgsql.Age --version 1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Konnektr.Npgsql.Age, 1.0.8"
#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 Konnektr.Npgsql.Age@1.0.8
#: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=Konnektr.Npgsql.Age&version=1.0.8
#tool nuget:?package=Konnektr.Npgsql.Age&version=1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Konnektr.Npgsql.Age
What is Apache AGE?
Apache AGE is an open-source extension for PostgreSQL which provides it with the capabilities of a graph database. This package is a plugin for the Npgsql library which allows you to interact with Apache AGE from C#.
Quickstart
Here's a simple example to get you started:
using Npgsql;
using Npgsql.Age;
using Npgsql.Age.Types;
var connectionString = "Host=server;Port=5432;Username=user;Password=pass;Database=sample1";
var dataSourceBuilder = new NpgsqlDataSourceBuilder(connString);
await using var dataSource = dataSourceBuilder
.UseAge()
.Build();
// Create graph
await using (var cmd = dataSource.CreateGraphCommand("graph1"))
{
await cmd.ExecuteNonQueryAsync();
}
// Add vertices
await using (var cmd = dataSource.CreateCypherCommand("graph1", "CREATE (:Person {age: 23}), (:Person {age: 78})"))
{
await cmd.ExecuteNonQueryAsync();
}
// Retrieve vertices
await using (var cmd = dataSource.CreateCypherCommand(
"graph1", "MATCH (n:Person) RETURN n"))
await using (var reader = await cmd.ExecuteReaderAsync())
{
while (await reader.ReadAsync())
{
var agtypeResult = reader.GetValue<Agtype>(0);
Vertex person = agtypeResult.GetVertex();
Console.WriteLine(person);
}
}
Acknowledgements
- This project is a fork of Apache AGE.
- The project relies heavily on the work of the Npgsql team.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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 (1)
Showing the top 1 NuGet packages that depend on Konnektr.Npgsql.Age:
Package | Downloads |
---|---|
Konnektr.AgeDigitalTwins
Digital Twins SDK for Apache Age |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.8 | 260 | 9/3/2025 |
1.0.7 | 189 | 8/11/2025 |
1.0.6 | 357 | 7/16/2025 |
1.0.5 | 841 | 4/14/2025 |
1.0.4 | 515 | 2/11/2025 |
1.0.3 | 304 | 1/6/2025 |
1.0.2 | 128 | 1/6/2025 |
1.0.1 | 114 | 1/6/2025 |
0.4.0 | 432 | 12/6/2024 |
0.3.9 | 131 | 12/5/2024 |
0.3.8 | 126 | 12/5/2024 |
0.3.7 | 150 | 12/3/2024 |
0.3.6 | 108 | 12/3/2024 |
0.3.5 | 104 | 12/3/2024 |
0.3.4 | 124 | 12/3/2024 |
0.3.3 | 116 | 11/30/2024 |
0.3.2 | 163 | 11/30/2024 |
0.3.1 | 114 | 11/30/2024 |
0.3.0 | 116 | 11/30/2024 |
0.2.13 | 168 | 11/26/2024 |
0.2.12 | 112 | 11/26/2024 |
0.2.11 | 108 | 11/26/2024 |
0.2.10 | 125 | 11/26/2024 |
0.2.9 | 111 | 11/26/2024 |
0.2.8 | 107 | 11/26/2024 |
0.2.7 | 110 | 11/26/2024 |
0.2.6 | 115 | 11/26/2024 |
0.2.5 | 111 | 11/26/2024 |
0.2.4 | 180 | 11/25/2024 |
0.2.3 | 117 | 11/18/2024 |
0.2.2 | 109 | 11/16/2024 |
0.2.1 | 114 | 11/16/2024 |
0.2.0 | 106 | 11/16/2024 |
0.1.8 | 123 | 11/13/2024 |