Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README replacing EdgeDB with Gel. #110

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Gel.Net](https://raw.githubusercontent.com/edgedb/edgedb-net/dev/branding/Banner.png)
![Gel.Net](https://raw.githubusercontent.com/geldata/gel-net/dev/branding/Banner.png)

<p align="center">
<a href="https://www.nuget.org/packages/Gel.Net.Driver/">
Expand All @@ -7,21 +7,21 @@
<a href="https://www.nuget.org/packages/Gel.Net.Driver/">
<img src="https://img.shields.io/nuget/vpre/Gel.Net.Driver.svg?maxAge=2592000?style=plastic" alt="NuGet">
</a>
<a href="https://github.com/edgedb/edgedb-net/actions/workflows/tests.yml">
<img src="https://github.com/edgedb/edgedb-net/actions/workflows/tests.yml/badge.svg?branch=dev" alt="Tests">
<a href="https://github.com/geldata/gel-net/actions/workflows/tests.yml">
<img src="https://github.com/geldata/gel-net/actions/workflows/tests.yml/badge.svg?branch=dev" alt="Tests">
</a>
<a href="https://discord.gg/tM4EpAaeSq">
<img src="https://discord.com/api/guilds/841451783728529451/widget.png" alt="Discord">
</a>

<p align="center">
Gel.Net is the official .NET driver for the <a href="https://edgedb.com">Gel</a> database.
Gel.Net is the official .NET driver for the <a href="https://www.geldata.com">Gel</a> database.
</p>
</p>

## Documentation

Documentation for the dotnet driver can be found [here](https://www.edgedb.com/docs/clients/dotnet).
Documentation for the dotnet driver can be found [here](https://www.geldata.com/docs/clients/dotnet).

## Installation

Expand All @@ -38,7 +38,7 @@ $ dotnet add package Gel.Net.Driver
### Creating a client

Clients are what allow your code to talk and interface with Gel. The
[`GelClientPool`](https://www.edgedb.com/docs/clients/dotnet/api#EdgeDB.GelClientPool)
[`GelClientPool`](https://www.geldata.com/docs/clients/dotnet/api#Gel.GelClientPool)
class contains a pool of connections and numerous abstractions for executing
queries with ease:

Expand All @@ -51,10 +51,10 @@ var client = new GelClientPool();
### Client configuration

`GelClientPool` will automatically determine how to connect to your Gel
instance by resolving [Gel Projects](https://www.edgedb.com/docs/intro/projects).
instance by resolving [Gel Projects](https://www.geldata.com/docs/intro/projects).
For specifying custom connection arguments, considering checking out the
[`GelConnection`](https://www.edgedb.com/docs/clients/dotnet/connection_parameters#GelConnection)
class. Here's an example of using the [`.Create()`](https://www.edgedb.com/docs/clients/dotnet/connection_parameters#GelConnection.Create-Options?)
[`GelConnection`](https://www.geldata.com/docs/clients/dotnet/connection_parameters#GelConnection)
class. Here's an example of using the [`.Create()`](https://www.geldata.com/docs/clients/dotnet/connection_parameters#GelConnection.Create-Options?)
method:

```cs
Expand All @@ -74,9 +74,9 @@ operations are performed asynchronously.

Queries are executed through the `GelClientPool` by using different helper
methods. Your choice of method is dependent on the kind of query you're making,
better known as [cardinality](https://www.edgedb.com/docs/clients/dotnet/index#cardinality-and-return-types).
better known as [cardinality](https://www.geldata.com/docs/clients/dotnet/index#cardinality-and-return-types).

Query helper methods will expect a generic `T` type which is the [.NET version of an Gel type](https://www.edgedb.com/docs/clients/dotnet/datatypes#datatypes):
Query helper methods will expect a generic `T` type which is the [.NET version of an Gel type](https://www.geldata.com/docs/clients/dotnet/datatypes#datatypes):

```cs
var result = await client.QueryAsync<long>("select 2 + 2"); // returns 4
Expand All @@ -97,7 +97,7 @@ check them out to see Gel.Net in action!

If you're building Gel.Net from source, you will need to download the
[.NET 8 SDK](https://dotnet.microsoft.com/en-us/download).

Once you have the SDK installed, you can then run `dotnet build` in the root
directory of the project:

Expand Down