# Class NpgsqlTsQueryEmpty

Namespace
  NpgsqlTypes

Assembly
  Npgsql.dll

Represents an empty tsquery. Shold only be used as top node.

    public sealed class NpgsqlTsQueryEmpty : NpgsqlTsQuery, IEquatable<NpgsqlTsQuery>

Inheritance
  object
  NpgsqlTsQuery
  NpgsqlTsQueryEmpty

Implements
  IEquatable<NpgsqlTsQuery>

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

## Constructors

### NpgsqlTsQueryEmpty()

Creates a tsquery that represents an empty query. Should not be used as child node.

    public NpgsqlTsQueryEmpty()

## 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.