Class PostgresMultirangeType
Represents a PostgreSQL multirange data type.
Inherited Members
Namespace: Npgsql.PostgresTypes
Assembly: Npgsql.dll
Syntax
public class PostgresMultirangeType : PostgresType
Remarks
See https://www.postgresql.org/docs/current/static/rangetypes.html.
Multirange types were introduced in PostgreSQL 14.
Constructors
PostgresMultirangeType(String, String, UInt32, PostgresRangeType)
Constructs a representation of a PostgreSQL range data type.
Declaration
protected PostgresMultirangeType(string ns, string name, uint oid, PostgresRangeType rangePostgresType)
Parameters
Type | Name | Description |
---|---|---|
String | ns | |
String | name | |
UInt32 | oid | |
PostgresRangeType | rangePostgresType |
Properties
Subrange
The PostgreSQL data type of the range of this multirange.
Declaration
public PostgresRangeType Subrange { get; }
Property Value
Type | Description |
---|---|
PostgresRangeType |