Light
Dark
System

Datatypes

The .NET driver maps the following EdgeDB types to the corresponding:

Currently, EdgeDB does not support unsigned numbers. Using them with the .NET driver may result in unexpected behaviour.

EdgeDB Type

.NET Type

Set

IEnumerable<T>

array

T[]

anytuple

Tuple<T>

anyenum

Enum

Object

object

bool

bool

bytes

byte[]

str

string

cal::local_date

DateOnly

cal::local_time

TimeSpan

cal::local_datetime

DateTime

cal::relative_duration

TimeSpan

datetime

DateTimeOffset

duration

TimeSpan

float32

float

float64

double

int16

short

int32

int

int64

long

bigint

BigInt

decimal

decimal

json

EdgeDB.DataTypes.Json

uuid

Guid

range()

EdgeDB.DataTypes.Range<T>

Light
Dark
System