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
| Improve this Doc View SourcePostgresMultirangeType(string, string, uint, 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 | |
uint | oid | |
PostgresRangeType | rangePostgresType |
Remarks
See https://www.postgresql.org/docs/current/static/rangetypes.html.
Multirange types were introduced in PostgreSQL 14.
Properties
| Improve this Doc View SourceSubrange
The PostgreSQL data type of the range of this multirange.
Declaration
public PostgresRangeType Subrange { get; }
Property Value
Type | Description |
---|---|
PostgresRangeType |
Remarks
See https://www.postgresql.org/docs/current/static/rangetypes.html.
Multirange types were introduced in PostgreSQL 14.