# Class NpgsqlTsQueryOr

Namespace
  NpgsqlTypes

Assembly
  Npgsql.dll

TsQuery Or Node.

    public sealed class NpgsqlTsQueryOr : NpgsqlTsQueryBinOp, IEquatable<NpgsqlTsQuery>

Inheritance
  object
  NpgsqlTsQuery
  NpgsqlTsQueryBinOp
  NpgsqlTsQueryOr

Implements
  IEquatable<NpgsqlTsQuery>

Inherited Members
  NpgsqlTsQueryBinOp.Left
  NpgsqlTsQueryBinOp.Right
  NpgsqlTsQuery.Kind
  NpgsqlTsQuery.Write(StringBuilder)
  NpgsqlTsQuery.ToString()
  NpgsqlTsQuery.Parse(string)
  NpgsqlTsQuery.Equals(object)
  object.Equals(object, object)
  object.GetType()
  object.ReferenceEquals(object, object)

## Constructors

### NpgsqlTsQueryOr(NpgsqlTsQuery, NpgsqlTsQuery)

Creates an or operator, with two given child nodes.

    public NpgsqlTsQueryOr(NpgsqlTsQuery left, NpgsqlTsQuery right)

#### Parameters

`left` NpgsqlTsQuery
`right` NpgsqlTsQuery

## Methods

### Equals(NpgsqlTsQuery?)

Returns a value indicating whether this instance and a specified NpgsqlTsQuery object represent the same value.

    public override bool Equals(NpgsqlTsQuery? other)

#### Parameters

`other` NpgsqlTsQuery

  An object to compare to this instance.

#### Returns

bool

  true if g is equal to this instance; otherwise, false.

### GetHashCode()

Serves as the default hash function.

    public override int GetHashCode()

#### Returns

int

  A hash code for the current object.