# Class NpgsqlTsQueryAnd

Namespace
  NpgsqlTypes

Assembly
  Npgsql.dll

TsQuery And node.

    public sealed class NpgsqlTsQueryAnd : NpgsqlTsQueryBinOp, IEquatable<NpgsqlTsQuery>

Inheritance
  object
  NpgsqlTsQuery
  NpgsqlTsQueryBinOp
  NpgsqlTsQueryAnd

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

### NpgsqlTsQueryAnd(NpgsqlTsQuery, NpgsqlTsQuery)

Creates an and operator, with two given child nodes.

    public NpgsqlTsQueryAnd(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.